[Bug 613195] Re: 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.
David Mawdsley
dm at madmod.com
Fri Aug 6 15:42:53 BST 2010
Hi Thierry,
First, thanks for any help on this sticky problem you can give. Here's
what I've done along with notes:
I gave the command: sudo apt-get install --reinstall mysql-server-5.1
which results in:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
tinyca mailx
Recommended packages:
libhtml-template-perl
The following packages will be upgraded:
mysql-server-5.1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/7,008kB of archives.
After this operation, 0B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 193134 files and directories currently installed.)
Preparing to replace mysql-server-5.1 5.1.41-3ubuntu12.3 (using .../mysql-server-5.1_5.1.41-3ubuntu12.6_i386.deb) ...
This refuses to time out, hangs completely and won't exit with ctrl+c,
so a force quit is needed.
I then opened another shell and tried:
madmod at madmod-laptop:~$ sudo dpkg --configure -a
dpkg: status database area is locked by another process
So then I restarted the computer and opened a shell and tried:
madmod at madmod-laptop:~$ sudo dpkg --configure -a
This resulted in:
dpkg: error processing mysql-server-5.1 (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
mysql-server-5.1
But at least update-manager is back to working.
--
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.
https://bugs.launchpad.net/bugs/613195
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