🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #510

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

#510
From: Greg Wooledge
Date: Sun, 15 Nov 2026 03:00
16 lines
2180 bytes
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.
Technical Details
Message-ID: <NZyDf-bXfH-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <NZvYJ-bW04-11@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Greg Wooledge <greg@wooledge.org>
Newsgroups: linux.debian.user
Subject: Re: APT::NeverAutoRemove::KernelCount "3"; Not quite working: I get  more than three kernels
Date: Sun, 15 Nov 2026 04:00:01 +0100
Message-ID: <NZyDf-bXfH-5@gated-at.bofh.it>
References: <NZvYJ-bW04-11@gated-at.bofh.it>
X-Original-To: debian-user@lists.debian.org
X-Mailbox-Line: From debian-user-request@lists.debian.org  Sun Nov 15 02:51:50 2026
Old-Return-Path: <greg@wooledge.org>
X-Amavis-Spam-Status: No, score=-1.9 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
Mail-Followup-To: debian-user@lists.debian.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832895
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/avkeN-Tw0ppxgzqc@wooledge.org
Approved: robomod@news.nic.it
Lines: 16
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 14 Nov 2026 21:51:35 -0500
X-Original-Message-ID: <avkeN-Tw0ppxgzqc@wooledge.org>
X-Original-References: <20261114170142.1a7283e6@hawk.localdomain>