Comment 6 for bug 613195

Revision history for this message
David Mawdsley (dm-madmod) wrote :

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@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@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.