Cavsfan, the comment was copied from the original script; it may not be
accurate with this one. I think the normal case after installing a
kernel with this script is three kernels in the never-auto-remove list.
There may probably be four kernels installed then (before autoremoving).
If that is too much, running the script without command line arguments
as a startup script as root helps (combined with regular autoremoving).
That also prevents the running kernel from being autoremoved, in case
you boot a kernel that is not protected by the never-auto-remove list.
The script may keep even more kernels from getting autoremoved, if there
are ones that are marked as manually installed, but you can control that
by using apt-mark.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1440608

Title:
  /etc/kernel/postinst.d/apt-auto-removal wants to remove all kernels
  except the latest one

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1440608/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to