Comment 3 for bug 1071909

Revision history for this message
joosteto (joosteto) wrote :

Maybe I run into this bug too. For me the install hangs, and returns an error message when I press ^C.
The logfile /var/log/upstart/mysql.log you mention has an access time of the 10'th of november, so apparently mysql doesn't log anything there.
While the upgrade (first aptitute upgrade, now dpkg --configure -a) runs (hangs), I see this in "ps ax | grep mysql":

20724 pts/2 S+ 0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/mysql-server-5.5.postinst configure 5.5.27-0ubuntu2
20734 pts/2 S+ 0:00 /bin/bash -e /var/lib/dpkg/info/mysql-server-5.5.postinst configure 5.5.27-0ubuntu2
20898 pts/2 S+ 0:00 /bin/sh /usr/sbin/invoke-rc.d mysql start
20914 pts/2 S+ 0:00 /bin/sh -e /etc/init.d/mysql start
20925 pts/2 S+ 0:00 start mysql
22241 ? Ssl 0:00 /usr/sbin/mysqld
22269 pts/3 S+ 0:00 grep --color=auto mysql

Pressing ^C and running the invoke-rc.d script, I get:

# /bin/sh /usr/sbin/invoke-rc.d mysql start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mysql

This is the output I get from running dpkg --configure -a:

# dpkg --configure -a
Setting up mysql-server-5.5 (5.5.28-0ubuntu0.12.10.1) ...
mysql stop/waiting
^Cdpkg: error processing mysql-server-5.5 (--configure):
 subprocess installed post-installation script was interrupted
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.5; however:
  Package mysql-server-5.5 is not configured yet.

dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mysql-server-5.5
 mysql-server