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

Bug #1591215 reported by ali faizan
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mysql-5.6 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

On ubuntu 16.04, i had mysql 5.7 installed and working but it was having problem with one of my old databases. So un-installed 5.7 and trying to install 5.6 using "sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty universe'"

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.6 (not installed)
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Fri Jun 10 18:42:06 2016
ErrorMessage: subprocess new pre-installation script returned error exit status 1
InstallationDate: Installed on 2016-04-25 (45 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: mysql-5.6
Title: package mysql-server-5.6 (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
ali faizan (ali-faizan-dev) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Joshua Powers (powersj) wrote :

From log:

Aborting downgrade from (at least) 5.7 to 5.6.
If are sure you want to downgrade to 5.6, remove the file
/var/lib/mysql/debian-*.flag and try installing again.

Revision history for this message
Joshua Powers (powersj) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Installing packages from a previous release is not a supported operation. This will lead to unexpected behavior. However, if you do really want to do this take a look at the terminal messages as it explains what to do if you really do want to do this operation.

If you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug rather than a problem specific to your system, and then change the bug status back to New.

Without steps to reproduce the problem, there is little that can be done on this bug. I'll mark this bug as Incomplete for now, pending someone else confirming that it is a bug or unless someone can provide steps to reproduce.

Please do report any other bugs you may find.

Changed in mysql-5.6 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-5.6 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-5.6 (Ubuntu):
status: Incomplete → Expired
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.