On Sat, Nov 14, 2026 at 17:01:42 -0700, Charles Curley wrote: > On trixie, with apt version "apt 3.0.4 (amd64)", the setting > > APT::NeverAutoRemove::KernelCount "3"; > > isn't quite working: during automatic upgrades, I get more than three > kernels. > > As near as I can figure this setting should give me three kernel > packages installed, instead of the default two. However, I now have > five on test machines.
Are you running apt autoremove? The setting you're looking at affects autoremove. It doesn't *trigger* an autoremove. You still need to run it yourself.

