I had the same problem. In my case, it seems that the cause was that apparmor was blocking mysql. I had to run sudo aa-complain mysql before I could finish the configuration. I do not remember ever enabling aa- enforce for mysql (or for anything else, in fact).
Steps to reproduce: sudo aa-enforce mysql sudo apt-get install --reinstall mysql-server-5.1 Result: apt-get will stall at Preconfiguring packages ... (Reading database ... 339276 files and directories currently installed.) Preparing to replace mysql-server-5.1 5.1.41-3ubuntu7 (using .../mysql-server-5.1_5.1.41-3ubuntu7_i386.deb) ... while trying to execute 'stop mysql' in the prerm script. Work-around: sudo aa-complain mysql sudo apt-get install --reinstall mysql-server-5.1 gives the expected result. -- package mysql-server-5.1 5.1.41-3ubuntu7 failed to install/upgrade: subprocess installed post-installation script killed by signal (Interrupt) https://bugs.launchpad.net/bugs/527275 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs