Public bug reported: The following command is suggested to remove old Kernels:
sudo apt-get autoremove --purge e.g. on this Q&A https://askubuntu.com/questions/1253347/how-to-easily-remove-old-kernels-in-ubuntu-20-04-lts This seems not to work well with set-up where the boot files sit on a different partition with limited size. Example: LVM configuration with boot on a different partition thank root: Filesystem Size Used Avail Use% Mounted on /dev/mapper/linux-root 100G 20G 80G 60% / /dev/sda3 485M 287M 174M 63% /boot /dev/sda1 96M 39M 58M 40% /boot/efi Expected process: sudo apt-get autoremove --purge should remove all kernels on all partitions Work-around solution: uname -r $CURRENT-KERNEL$ dpkg --list 'linux-image-*' sudo apt-get purge $PREVIOUS-KERNEL$ ** Affects: linux (Ubuntu) Importance: Undecided Status: Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1910923 Title: Purging of old kernel does not work with boot on other partition To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1910923/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs