Public bug reported: If MySQL is not startable, the package cannot continue. History...
Performed a dist-upgrade on a Lucid box installed a few weeks ago. The dist-upgrade became stuck: Setting up libmysqlclient16 (5.1.41-3ubuntu12.6) ... Setting up mysql-client-core-5.1 (5.1.41-3ubuntu12.6) ... Setting up mysql-client-5.1 (5.1.41-3ubuntu12.6) ... Setting up mysql-server-core-5.1 (5.1.41-3ubuntu12.6) ... Setting up mysql-server-5.1 (5.1.41-3ubuntu12.6) ... Installing new version of config file /etc/init/mysql.conf ... Looking at vmstat in another shell it was doing nothing, 100% idle. Looking at ps: jam...@sutton:~$ ps ax | grep mysql 3665 pts/1 S+ 0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/mysql-server-5.1.postinst configure 5.1.41-3ubuntu12.3 3675 pts/1 S+ 0:00 /bin/bash -e /var/lib/dpkg/info/mysql-server-5.1.postinst configure 5.1.41-3ubuntu12.3 3779 pts/1 S+ 0:00 start mysql 5962 pts/2 S+ 0:00 grep --color=auto mysql 31891 pts/1 Ss+ 0:00 /usr/bin/dpkg --status-fd 24 --configure linux-image-2.6.32-24-generic libmysqlclient16 mysql-client-core-5.1 mysql-client-5.1 mysql-server-core-5.1 mysql-server-5.1 mysql-server apt-utils ureadahead libusb-0.1-4 apt-transport-https libkrb5support0 libk5crypto3 libkrb5-3 libgssapi-krb5-2 libldap-2.4-2 python-apt update-manager-core w3m libfreetype6 grub-common grub-pc hunspell-en-ca linux-image-generic linux-generic linux-headers-2.6.32-24 linux-headers-2.6.32-24-generic linux-headers-generic myspell-en-gb myspell-en-za openvpn Figured I'd kill pid 3675 which did indeed complete the dist-upgrade. Seems I had left MySQL in an un-startable state (Innodb unhappy with the log file sizes being changed, they needed to be removed). This should not however cause a dist-upgrade to hang! ** Affects: mysql-dfsg-5.1 (Ubuntu) Importance: Undecided Status: New -- Infinite loop upgrading to 5.1.41-3ubuntu12.6 https://bugs.launchpad.net/bugs/615869 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs