Ok, I solved the problem!
It's an apparmor issue. It had newly created two files in /etc/apparmor.d :
usr.sbin.mysqld.dpkg-dist
usr.sbin.mysqld.new

For some reason the override the settings in usr.sbin.mysqld, so mysql didn't 
have permissions needed to run.
I just needed to delete those files and restart apparmor and mysql.

But this is still a bug in apparmor. Would be nice to assign in to
someone in the dev team.

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: subprocess post-installation script returned error exit status 
1
https://bugs.launchpad.net/bugs/403898
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

Reply via email to