APT automatically removes unnecessary kernels. If something depends on a specific kernel version or you marked that kernel as manually installed it will be kept of course. Also it will always keep 2 kernels around as a minimum, and of course the currently booted kernel.
** Changed in: apt (Ubuntu) Status: New => Incomplete -- 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/2009603 Title: apt autoremove doesn´t catch all old kernels Status in apt package in Ubuntu: Incomplete Bug description: I have an install with nominally 500MB as /boot. I'm regularly running beyond that limit at updates. Instead of manually picking out old files and apt --purge, I found that more recently apt autoremove would do that task. That brought me down by 11 MB only, from 100%: 445 401 11 98% apt update apt upgrade apt autoremove and reboot didn't improve the situation. A tad reluctantly I installed byobu and ran one session of purge-old-kernels. Result: 445 277 135 68% I can live with that; though I couldn't with the result above. Of course, I'd prefer apt autoremove to do everything in a single go. But what it does, does not actually warrant the deprecation of purge-old-kernels. I'm surely not the only person with a tight budget when using a separate /boot of an old installation. Or, as in my case, a fresh install into an old, formerly partitioned drive. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2009603/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp