I tried to reproduce this and was unable to. The apparmor package did added a Breaks: media-hub, mediascanner2.0, messaging-app, webbrowser- app because of bug #1756800 and bug #1761176 so I tried upgrades with and without these installed. Test configurations:
* Ubuntu Desktop default install * update sources.list to include bionic and run apt-get update * apt-get upgrade correctly holds apparmor * apt-get dist-upgrade correctly upgrades apparmor * revert changes to sources.list and run apt-get update * do-release-upgrade -d correctly upgrades apparmor. Package removal at end does not suggest removing apparmor. Reboot shows apparmor is installed * Ubuntu Desktop default install with media-hub, mediascanner2.0, messaging-app and webbrowser-app installed * update sources.list to include bionic and run apt-get update * apt-get upgrade correctly holds apparmor * apt-get dist-upgrade correctly upgrades apparmor and removes media-hub, mediascanner2.0, messaging-app and webbrowser-app * revert changes to sources.list and run apt-get update * do-release-upgrade -d correctly upgrades apparmor and removes media-hub, mediascanner2.0, messaging-app and webbrowser-app. Package removal at end does not suggest removing apparmor. Reboot shows apparmor is installed * Ubuntu Server default install * update sources.list to include bionic and run apt-get update * apt-get upgrade correctly upgrades apparmor (no Breaks installed so no reason to hold) * apt-get dist-upgrade correctly upgrades apparmor * revert changes to sources.list and run apt-get update * do-release-upgrade -d correctly upgrades apparmor. Package removal at end does not suggest removing apparmor. Reboot shows apparmor is installed * Ubuntu Server default install with media-hub installed * update sources.list to include bionic and run apt-get update * apt-get upgrade correctly holds apparmor * apt-get dist-upgrade correctly upgrades apparmor and removes media-hub * revert changes to sources.list and run apt-get update * do-release-upgrade -d correctly upgrades apparmor and removes media-hub. Package removal at end does not suggest removing apparmor. Reboot shows apparmor is installed I believe that the apparmor removal has nothing to do with the new added Breaks in 18.04's apparmor, however, as mentioned, I cannot reproduce. Can you provide steps to reproduce? ** Changed in: apparmor (Ubuntu) Status: New => Incomplete ** Bug watch added: LXD bug tracker #4504 https://github.com/lxc/lxd/issues/4504 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767164 Title: Apparmor removed on 16.04 LTS -> 18.04 upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1767164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs