package mysql-server-5.1 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Bug #862651 reported by
aristath
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.1 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Ubuntu oneiric (development branch)
tried to install MySQL using
sudo apt-get install mysql-server
ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: mysql-server-5.1 (not installed)
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
Date: Thu Sep 29 21:35:35 2011
ErrorMessage: subprocess new pre-installation script returned error exit status 1
SourcePackage: mysql-5.1
Title: package mysql-server-5.1 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
UpgradeStatus: Upgraded to oneiric on 2011-09-29 (0 days ago)
tags: | removed: need-duplicate-check |
To post a comment you must log in.
From the attached logs:
Unpacking mysql-server-5.1 (from .../mysql- server- 5.1_5.1. 58-1ubuntu1_ amd64.deb) ... mysql/debian- *.flag and try installing again. apt/archives/ mysql-server- 5.1_5.1. 58-1ubuntu1_ amd64.deb (--unpack):
Aborting downgrade from (at least) 5.5 to 5.1.
If are sure you want to downgrade to 5.1, remove the file
/var/lib/
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 1
It looks like you've had a future version of mysql-server installed in the past, and you're now trying to install an older version (although current for 11.10).
If this is correct, then could please you clean up the custom installation from the future manually and try again? If this works, please mark this bug as Invalid.
If this is wrong, could you please tell us the history of your mysql-server installation on this server?