Comment 4 for bug 589297

Revision history for this message
mikaelkael (perraud-mickael) wrote : Re: package mysql-server-5.1 5.1.41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer.

Thanks Jean-Baptiste, but I have same problem as Ben. When I try:
$ sudo apt-get install --reinstall mysql-server-5.1
It's always stop without return just after:
Preparing to replace mysql-server-5.1 5.1.41-3ubuntu12.1 (using .../mysql-server-5.1_5.1.41-3ubuntu12.1_amd64.deb) ...

It's seems that the problem appears during the pre-removal process, I manually did a:
$ sudo /etc/init.d/mysql stop
// and not a:
$ sudo stop mysql

And I after I did:
$ sudo dpkg --purge --force-all mysql-server-5.1

And now It's OK