On 2026-11-17 04:18:55 +0100, Vincent Lefevre wrote: > On 2026-11-16 13:58:11 -0600, David Wright wrote: > > It would be more realistic to try out Vincent's suggestion by > > testing with APT::NeverAutoRemove::KernelCount "N"; where N=0…6 > > in turn. > > Yes. And the current code (3.3.7) in apt-pkg/algorithms.cc is [...]
No need to do any test: Mistral AI found a bug when I asked to look at this discussion, starting at https://lists.debian.org/debian-user/2026/11/msg00232.html It says that there is a configuration namespace collision: APT::NeverAutoRemove is simultaneously a scalar option scope (holding KernelCount) and a list of regexes that protects packages from autoremove. Setting KernelCount "3" injects the string 3 into that regex list. Full information: https://chat.mistral.ai/work/80af5892-0370-4bff-8748-652e0fe6666c -- Vincent Lefèvre <[email protected]> - 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)

