In my case restarting my machine was a solution. After reboot and marking mysql-server-5.0 to installation was successful, so AppArmor is not a problem in my case.
-- package mysql-server-5.0 5.0.51a-3ubuntu5.1 failed to install/upgrade: subprocess post-installation script returned error exit status 1 - fails due to AppArmor https://bugs.launchpad.net/bugs/237630 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