On Sun 15 Nov 2026 at 08:43:23 (-0700), Charles Curley wrote:
> On Sun, 15 Nov 2026 08:42:23 -0500
> Greg Wooledge <gr…@wooledge.org> wrote:
>
> > > 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? I
> > usually use apt-get, and it definitely doesn't do an autoremove for
> > me.
> >
> >
> > hobbit:~$ apt-get -s upgrade
> > NOTE: This is only a simulation!
> > [...]
> > The following packages were automatically installed and are no longer
> > required: enchant-2 ghp-import gir1.2-gtk-2.0 girepository-tools
> > gsfonts gsfonts-x11 [...]
> > Use 'apt autoremove' to remove them.
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >
> >
> > I don't do autoremoves on that system. On others where I do use it,
> > it has always (so far) kept only the 2 latest kernels, as expected.
>
> ro…@peregrine:~# pre ux-im ; uname -r
> linux-image-6.12.111+deb13-amd64 6.12.111-1 amd64
> linux-image-6.12.113+deb13-amd64 6.12.113-1 amd64
> linux-image-6.12.115+deb13.1-amd64 6.12.115-2 amd64
> linux-image-6.12.116+deb13-amd64 6.12.116-1 amd64
> linux-image-6.12.117+deb13-amd64 6.12.117-1 amd64
> linux-image-amd64 6.12.117-1 amd64
> 6.12.117+deb13-amd64
> ro…@peregrine:~# apt-get -s upgrade
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> ro…@peregrine:~# apt-get -s autoremove
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> ro…@peregrine:~#
I don't understand this output. I'd prefer to see the output from:
$ dpkg -l | grep linux-image
$ apt-get -s --purge autoremove
Cheers,
David.