Comment 3 for bug 444349

Revision history for this message
Jonathan Harker (jonathanharker) wrote : Re: package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

I have encountered this upgrading from Jaunty to Karmic. The dist-upgrade has stalled with 285 packages still to go, because when setting up mysql-server-5.1 (5.1.37-1ubuntu5) it attempts to restart the mysql service. MySQL now consistently fails at start (/etc/init.d/mysql start) as above, because it can't find the mysql.plugins table. MySQL helpfully suggests that I run mysql_upgrade, which fails because it cannot connect to the MySQL service that it expects to be up and running. The instructions at http://dev.mysql.com/doc/refman/5.1/en/mysql-upgrade.html don't work either, because mysql_check (et al.) also expect the MySQL service to be running.