package mysql-server-5.7 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1

Bug #1582044 reported by karim
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

i cant install msql server and more apps on ubunyu 16.04

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 (not installed)
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Mon May 16 01:14:08 2016
ErrorMessage: subprocess new pre-installation script returned error exit status 1
InstallationDate: Installed on 2016-05-14 (1 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.10ubuntu1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
karim (annymosse) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote :

It looks like this is intentional:

Preparing to unpack .../mysql-server-5.7_5.7.12-0ubuntu1_amd64.deb ...
Aborting downgrade from (at least) 10.0 to 5.7.
If are sure you want to downgrade to 5.7, remove the file
/var/lib/mysql/debian-*.flag and try installing again.

Also note this message repeated often in your logs, perhaps your network controller is unhappy:

[18317.930518] r8169 0000:01:00.0 enp1s0: rtl_counters_cond == 1 (loop: 1000, delay: 10).

information type: Private Security → Public
Changed in mysql-5.7 (Ubuntu):
status: New → Invalid
Revision history for this message
Srihari Sankar Sahu (hunkyhari) wrote :

Mariadb-10.0 was installed on the system.
I purged all mariadb packages.
Then when I try to install mysql - it should not error out without showing the decision for user action.

If /var/lib/mysql/debian-10.0 file needs to be removed, the installer should actually ask it.

Changed in mysql-5.7 (Ubuntu):
status: Invalid → Incomplete
tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.