[Bug 975074] Re: package mysql-server-5.1 5.1.58-1ubuntu1 failed to install/upgrade: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.

Clint Byrum clint at fewbar.com
Sat Apr 7 04:10:15 UTC 2012


Gary, 12.04 has MySQL 5.5, which should have been pulled in due to its
Breaks/Replaces relationship with mysql 5.1. Perhaps something went
wrong during that upgrade? Anyway, 5.1 iis being removed from 12.04.

Anyway, to reinstall mysql-server-5.1 cleanly so you can remove/upgrade
it, you probably will want to do:

dpkg -i --force-confmiss /var/cache/apt/archives/mysql-
server-5.1_5.1.58-1ubuntu1_amd64.deb

That should replace missing config files that you've deleted. After
that, an 'apt-get dist-upgrade' should result in 5.5 being installed.

Please respond back here with whether or not this fixes the issue. Also,
did you use do-release-upgrade -d to upgrade to precise, or just a
straight dist-upgrade?

** Changed in: mysql-5.1 (Ubuntu)
       Status: New => Incomplete

** Changed in: mysql-5.1 (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/975074

Title:
  package mysql-server-5.1 5.1.58-1ubuntu1 failed to install/upgrade:
  Package is in a very bad inconsistent state - you should  reinstall it
  before attempting a removal.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.1/+bug/975074/+subscriptions



More information about the Ubuntu-server-bugs mailing list