On 2026-11-16 05:30, Vincent Lefevre wrote:
On 2026-11-15 11:41:53 -0700, Charles Curley wrote:
root@peregrine:~# apt-get -s --purge 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.
If you remove your
APT::NeverAutoRemove::KernelCount "3";
setting, does this change anything?
I'm wondering whether APT::NeverAutoRemove::KernelCount is buggy
when explicitly set to any value.
If I remove it, I get:
root@peregrine:~# apt -s upgrade
The following packages were automatically installed and are no longer
required:
linux-image-6.12.111+deb13-amd64 linux-image-6.12.113+deb13-amd64
linux-image-6.12.115+deb13.1-amd64
Use 'apt autoremove' to remove them.
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
root@peregrine:~#
As I have five kernels on that machine, that looks reasonable to me.