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

Bug #1341468 reported by vishalsuvagia
6
This bug affects 1 person
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-server-5.5_5.5.37-0ubuntu0.14.04.1_amd64.deb ...
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/mysql/debian-*.flag and try installing again.
dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.37-0ubuntu0.14.04.1_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server-5.5_5.5.37-0ubuntu0.14.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: mysql-server-5.5 (not installed)
ProcVersionSignature: Ubuntu 3.13.0-32.56-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
AptOrdering:
 mysql-server-core-5.5: Install
 mysql-server-5.5: Install
 mysql-server-core-5.5: Configure
 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)

Revision history for this message
vishalsuvagia (vishalsuvagia) wrote :
Revision history for this message
zdex (jsen767) wrote :

This is not a bug, you must remove /var/lib/mysql/debian-5.6.flag file

sudo -i
rm /var/lib/mysql/debian-*.flag
su {yourusername}
sudo apt-get install mysql-server-5.5

Changed in mysql-5.5 (Ubuntu):
status: New → Invalid
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.