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.
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.