I believe the solution would be for the 5.1 packaging to not remove (or re-add) this file if /etc/apparmor.d/usr.sbin.mysqld exists.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/986892 Title: mysql-server postrm breaks apparmor profile for later versions on purge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs