🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #554

Re: APT::NeverAutoRemove::KernelCount "3"; Not quite working: I get more than three kernels

#554
From: charlescurley
Date: Mon, 16 Nov 2026 17:00
32 lines
5141 bytes
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.
Technical Details
Message-ID: <O08dI-chPl-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NZvYJ-bW04-11@gated-at.bofh.it> <NZyDf-bXfH-5@gated-at.bofh.it> <NZAF3-bYAN-1@gated-at.bofh.it> <NZIMh-c35e-3@gated-at.bofh.it> <NZKEs-c49T-83@gated-at.bofh.it> <NZMPU-c5zY-19@gated-at.bofh.it> <NZNsB-c5QC-7@gated-at.bofh.it> <O03e1-cf3m-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: charlescurley@charlescurley.com
Newsgroups: linux.debian.user
Subject: Re: APT::NeverAutoRemove::KernelCount "3"; Not quite working: I get  more than three kernels
Date: Mon, 16 Nov 2026 18:00:02 +0100
Message-ID: <O08dI-chPl-9@gated-at.bofh.it>
References: <NZvYJ-bW04-11@gated-at.bofh.it> <NZyDf-bXfH-5@gated-at.bofh.it> <NZAF3-bYAN-1@gated-at.bofh.it> <NZIMh-c35e-3@gated-at.bofh.it> <NZKEs-c49T-83@gated-at.bofh.it> <NZMPU-c5zY-19@gated-at.bofh.it> <NZNsB-c5QC-7@gated-at.bofh.it> <O03e1-cf3m-7@gated-at.bofh.it>
X-Original-To: debian-user@lists.debian.org
X-Mailbox-Line: From debian-user-request@lists.debian.org  Mon Nov 16 16:50:32 2026
Old-Return-Path: <charlescurley@charlescurley.com>
X-Amavis-Spam-Status: No, score=-2.1 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -3.5
X-Greylist: delayed 1708 seconds by postgrey-1.37 at bendel; Mon, 16 Nov 2026 16:50:21 UTC
MIME-Version: 1.0
User-Agent: Roundcube Webmail/1.6.20
X-Sender: charlescurley@charlescurley.com
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-Get-Message-Sender-Via: ares.theservercompany.com: authenticated_id: charlescurley@charlescurley.com
X-Authenticated-Sender: ares.theservercompany.com: charlescurley@charlescurley.com
X-Originating-IP: 104.36.62.11
X-Spamexperts-Domain: theservercompany.com
X-Spamexperts-Username: 104.36.62.11
Authentication-Results: theservercompany.com; auth=pass smtp.auth=104.36.62.11@theservercompany.com
X-Spamexperts-Outgoing-Class: ham
X-Spamexperts-Outgoing-Evidence: Combined (0.11)
X-Recommended-Action: accept
X-Filter-ID: 9kzQTOBWQUFZTohSKvQbgI7ZDo5ubYELi59AwcWUnuVX0skzu8f9f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PVtwVCbziB5vB+ALoU1Qcv7IrJER9lgJSCo8UXBrwDJBi
 qM7upi2Jdv71
X-Report-Abuse-To: spam@mailx1.theservercompany.com
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832942
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/b1c795f330751c4af0240ab6357cca96@charlescurley.com
Approved: robomod@news.nic.it
Lines: 32
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 16 Nov 2026 10:21:46 -0600
X-Original-Message-ID: <b1c795f330751c4af0240ab6357cca96@charlescurley.com>
X-Original-References: <20261114170142.1a7283e6@hawk.localdomain>
 <avkeN-Tw0ppxgzqc@wooledge.org>
 <20261114220535.588a318e@peregrine.localdomain>
 <avm2v9BeMGRZx__7@wooledge.org>
 <20261115084323.6000e2dc@peregrine.localdomain> <avn1HIGw1_1mb5g_@argo.corp>
 <20261115114153.4c463e2b@hawk.localdomain>
 <20261116113011.GE670644@qaa.vinc17.org>
X-Original-X-Complaints-To: abuse@mailx1.theservercompany.com