[Bug 574557] [NEW] package mysql-server-5.1 5.1.41-3ubuntu12 failed to install/upgrade: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Reinstall goes so far then freezes.

Mickg01 mickg01 at verizon.net
Mon May 3 16:52:03 BST 2010


Public bug reported:

Upon upgrading from Ubuntu 9.10 to 10.04 I was unable to run MySQL Administrator or MySQL Query Browser:
MySQL Error Nr. 2002
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

pinging localhost succeeds.

I attempted to reinstall mysql-server-5.1 5.1.41-3ubuntu12 it gets to: Selecting previously deselected package mysql-server-5.1.
(Reading database ... 168691 files and directories currently installed.)
Preparing to replace mysql-server-5.1 5.1.41-3ubuntu12 (using .../mysql-server-5.1_5.1.41-3ubuntu12_i386.deb) ...

and then stops.

I did attempt to uninstall it and got:
dpkg: error processing mysql-server-5.1 (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 mysql-server-5.1
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'd like to get this repaired and then rescue my database but am at a
loss as to how to proceed.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: mysql-server-5.1 5.1.41-3ubuntu12
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
AptOrdering:
 mysql-server: Remove
 mysql-server-5.1: Remove
Architecture: i386
Date: Mon May  3 11:38:18 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: May  3 02:16:42 mick-desktop kernel: [   15.031014] type=1505 audit(1272867402.843:14):  operation="profile_load" pid=831 name="/usr/sbin/mysqld"
MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['timetrex', 'guestbook', 'mysql_upgrade_info', 'ibdata1', 'debian-5.0.flag', 'ib_logfile1', 'my_db', 'mick-desktop.err', 'mysql', 'timberoaks', 'ZIP', 'timetrex1', 'ib_logfile0', 'phpmyadmin', 'DDC', 'debian-5.1.flag']
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 5.1.41-3ubuntu12 failed to install/upgrade: Package is in a very bad inconsistent state - you should  reinstall it before attempting a removal.

** Affects: mysql-dfsg-5.1 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package i386 lucid

-- 
package mysql-server-5.1 5.1.41-3ubuntu12 failed to install/upgrade: Package is in a very bad inconsistent state - you should  reinstall it before attempting a removal. Reinstall goes so far then freezes.
https://bugs.launchpad.net/bugs/574557
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.



More information about the Ubuntu-server-bugs mailing list