On 2026-11-15 08:42:23 -0500, Greg Wooledge wrote:
> On Sat, Nov 14, 2026 at 22:05:35 -0700, Charles Curley wrote:
> > Now you have me mystified. If I don't set
> > APT::NeverAutoRemove::KernelCount then upgrades automatically install a
> > new kernel. (I have linux-image-amd64 installed.) They also remove an
> > old one, leaving me with the default net two kernels.
> >
> > I don't think I have ever run "apt autoremove". I just did so on a
> > machine with five kernels installed; none were removed.
>
> Hmm. Maybe it's a difference between apt-get and apt, then?
There are some differences, but not for autoremove. They just
propose to autoremove packages when some are concerned. There
is a difference with aptitude, which autoremoves packages by
default, but Charles didn't mention aptitude.
--
Vincent Lefèvre <vinc…@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)