autoremove seems to want to remove the second to last regular kernel on my 
systems also.
I always have a bunch of mainline kernels installed on my computers, and maybe 
that is the reason.

Example:

$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  gconf-service gconf-service-backend gconf2 gconf2-common libavahi-glib1 
libbonobo2-0 libbonobo2-common libcanberra0 libgconf-2-4 libgnome-2-0 
libgnome2-common libgnomevfs2-0
  libgnomevfs2-common libllvm3.8 libmircommon5 liborbit-2-0 
linux-headers-4.4.0-67 linux-headers-4.4.0-67-generic linux-headers-4.4.0-72 
linux-headers-4.4.0-72-generic
  linux-headers-4.4.0-77 linux-headers-4.4.0-77-generic linux-headers-4.4.0-83 
linux-headers-4.4.0-83-generic linux-headers-4.4.0-92 
linux-headers-4.4.0-92-generic
  linux-image-4.4.0-67-generic linux-image-4.4.0-72-generic 
linux-image-4.4.0-77-generic linux-image-4.4.0-83-generic 
linux-image-4.4.0-92-generic linux-image-extra-4.4.0-67-generic
  linux-image-extra-4.4.0-72-generic linux-image-extra-4.4.0-77-generic 
linux-image-extra-4.4.0-83-generic linux-image-extra-4.4.0-92-generic 
sound-theme-freedesktop
0 upgraded, 0 newly installed, 37 to remove and 0 not upgraded.
After this operation, 1,535 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

The current regular kernel is 4.4.0-93 and I expect 4.4.0-92 to be left alone.
I am running servers 16.04.3 and apt 1.2.24.

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

Title:
  apt doesn't correctly fill APT::NeverAutoRemove

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1427910/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to