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.

Bug #617237 reported by PeterWallbridge
20
This bug affects 2 people
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
ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5
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.log.daemon.log:

Logs.var.log.kern.log:
 Aug 11 15:19:18 peterw-desktop kernel: [ 21.650547] type=1505 audit(1281554358.659:10): operation="profile_load" pid=835 name="/usr/sbin/mysqld"
 Aug 13 02:28:50 peterw-desktop kernel: [ 23.599587] type=1505 audit(1281680930.606:9): operation="profile_load" pid=818 name="/usr/sbin/mysqld"
MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['mysql_upgrade_info', 'songsafe', 'ib_logfile0', 'ib_logfile1', 'mysql', 'ibdata1', 'debian-5.1.flag']
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.

Revision history for this message
PeterWallbridge (pgwallbridge) wrote :
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

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.

Changed in mysql-dfsg-5.1 (Ubuntu):
status: New → Incomplete
importance: Undecided → High
Revision history for this message
Thierry Carrez (ttx) wrote :

Downgrading to Medium as this seems to affect only very specific situations.

Changed in mysql-dfsg-5.1 (Ubuntu):
importance: High → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in mysql-dfsg-5.1 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.