Comment 2 for bug 427141

Revision history for this message
Mathias Gug (mathiaz) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Could you please provide the following information:

 * content of /var/log/daemon.log related to mysql processes:

    /var/log/daemon.log

 * apparmor audit messages related to mysqld. The output of the command:

   egrep 'audit\(|apparmor|selinux|security' /var/log/kern.log

 * mysqld apparmor profile:

    /etc/apparmor.d/usr.sbin.mysqld

 * list of mysqld apparmor profiles:

    ls -l /etc/apparmor.d/usr.sbin.mysqld*

 * mysql configuration stripped of private information (such as password):

    /etc/mysql/my.cnf

 * extra mysql configuration from the conf.d directory:

    /etc/mysql/conf.d/

 * directory listing of mysql datadir (by default /var/lib/mysql):

    ls -l /var/lib/mysql

=======================
Relevant error messages
Replacing files in old package language-pack-pt-base ...

Preparing to replace mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 (using .../mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb) ...

 * Stopping MySQL database server mysqld

   ...fail!

invoke-rc.d: initscript mysql, action "stop" failed.

dpkg: warning - old pre-removal script returned error exit status 1

dpkg - trying script from the new package instead ...

 * Stopping MySQL database server mysqld

   ...fail!

invoke-rc.d: initscript mysql, action "stop" failed.

dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb (--unpack):

 subprocess new pre-removal script returned error exit status 1