Oh right, that's another use case I forgot about. I can see cleaning them up automatically in unattended-upgrades and dist-upgrade (or well, when any new kernel is installed). I just don't want to accidentally autoremove a desktop or something :)
I guess in essence we can just define a second level of autoremove that only removes safe packages, and just enable that by default. This way we can mark kernels as safe to autoremove, and still have an autoremove command that removes potentially less-safe unused packages. We can even extend that to other packages as needed. Together with fixes for gnome-software and complete autoremove in do- release-upgrade (and perhaps the limited autoremove when removing a package) we should should have a solution that should not cause any big issues I think. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1734104 Title: 'upgrade' in bionic should by default autoremove as well Status in apt package in Ubuntu: New Bug description: In bionic, apt upgrade should also autoremove by default. I have a few bionic systems (upgrades from xenial mostly) which are not yet showing that behaviour, it may be we haven't implemented that yet so this is just a placeholder bug in that case :) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1734104/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

