package mysql-server-5.5 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.5 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
mysql-server-5.5
Suggested packages:
tinyca mailx
The following NEW packages will be installed:
mysql-server-5.5
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/1,966 kB of archives.
After this operation, 32.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
(Reading database ... 324434 files and directories currently installed.)
Preparing to unpack .../mysql-
Aborting downgrade from (at least) 5.6 to 5.5.
If are sure you want to downgrade to 5.5, remove the file
/var/lib/
dpkg: error processing archive /var/cache/
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: mysql-server-5.5 (not installed)
ProcVersionSign
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
AptOrdering:
mysql-
mysql-server-5.5: Install
mysql-
mysql-server-5.5: Configure
Architecture: amd64
Date: Mon Jul 14 09:35:39 2014
ErrorMessage: subprocess new pre-installation script returned error exit status 1
InstallationDate: Installed on 2014-06-25 (18 days ago)
InstallationMedia: It
SourcePackage: mysql-5.5
Title: package mysql-server-5.5 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
This is not a bug, you must remove /var/lib/ mysql/debian- 5.6.flag file
sudo -i mysql/debian- *.flag
rm /var/lib/
su {yourusername}
sudo apt-get install mysql-server-5.5