I have tested installing mysql-server-5.1 in 11.10, and then doing a
dist-upgrade to get to precise.
Ok so the problem is that mysql-server-5.1's postrm runs *after* mysql-
server-5.5's postinst creates the file. This is because we only have a
'Breaks+Replaces' relationship between the two, so dpkg correctly:
* deconfigures 5.1
* installs 5.5
* configures 5.5
* removes 5.1
This really does need to be fixed in dh_apparmor. The postrm snippet
should simply not rm the local/ file if the primary file is still in
existence, since it is basically guaranteed to still depend on the
local/ file.
** Also affects: apparmor (Ubuntu Oneiric)
Importance: Undecided
Status: New
** Also affects: mysql-5.5 (Ubuntu Oneiric)
Importance: Undecided
Status: New
** Also affects: apparmor (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: mysql-5.5 (Ubuntu Precise)
Importance: Undecided
Status: New
** Changed in: apparmor (Ubuntu)
Status: Confirmed => Triaged
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs