Comment 9 for bug 522185

Revision history for this message
Mathias Gug (mathiaz) wrote : Re: package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

The issue is related to:

* Stopping MySQL database server mysqld
   ...fail!

Could you paste the output of running the mysqld init script stop action with debugging set to yes?

(Edit /etc/init.d/mysql to add 'set -x' at the beginning of the file and then run sudo /etc/init.d/mysql stop).