package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Cannot remove mysql, nor reinstall mysql, nor update regular updates
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: mysql-server-5.1 5.1.41-3ubuntu12.3
ProcVersionSign
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Fri Aug 13 02:37:27 2010
ErrorMessage: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Logs.var.
Logs.var.
Aug 11 15:19:18 peterw-desktop kernel: [ 21.650547] type=1505 audit(128155435
Aug 13 02:28:50 peterw-desktop kernel: [ 23.599587] type=1505 audit(128168093
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
Hi Peter,
can you try manually *installing* the package, if you haven't cleared apt's cache, then you can do
dpkg -i /var/cache/ apt/archives/ mysql-server- 5.1_5.1. 41-3ubuntu12. 3_i386. deb
Otherwise, download it with
wget http:// security. ubuntu. com/ubuntu/ pool/main/ m/mysql- dfsg-5. 1/mysql- server- 5.1_5.1. 41-3ubuntu12. 3_i386. deb
Then
dpkg -i mysql-server- 5.1_5.1. 41-3ubuntu12. 3_i386. deb
It should replace all of its files, and then allow upgrading/removing.
Marking Incomplete, you can change it back to New if that doesn't work for you.
Setting Importance to High as this may prevent automated upgrades if it is in fact a bug.