[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
Wed Aug 4 19:00:33 BST 2010


I paid a visit to Mark Rijckenberg's page
https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
and went through the procedure step-by-step.

The line:  LANG=C;sudo apt-get --purge autoremove was unsuccessful with "E: The package mysql-server-5.1 needs to be reinstalled, but I cant' find the archive for it."  However, I continued on with the procedure until the next problem at
sudo dpkg --configure -a   where it complained about the bad state of mysql-server-5.1 and recommended reinstall.

LANG=C;sudo apt-get -f install  hangs completely.  I then restarted the computer and gave it
sudo dpkg --configure -a  so that I could at least use update-manager for other packages. 
 
So now I'm back where I was with mysql-server-5.1 messed up.  Luckly, I don't need my database 'MadMod09' to keep my business running and will have to do without it until I can get a real fix working.   The rest of the computer with Ubuntu 10.04 LTS is working fine.  Interestingly enough, mysql-server-5.1 took the update properly on my server, but I'm not using 'MadMod09' on my server as it's only used as a fileserver for our network.  So the update from the repository is okay.

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