๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #516

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

#516
From: Vincent Lefevre
Date: Sun, 15 Nov 2026 14:30
21 lines
3008 bytes
On 2026-11-15 08:42:23 -0500, Greg Wooledge wrote:
> On Sat, Nov 14, 2026 at 22:05:35 -0700, Charles Curley wrote:
> > Now you have me mystified. If I don't set
> > APT::NeverAutoRemove::KernelCount then upgrades automatically install a
> > new kernel. (I have linux-image-amd64 installed.) They also remove an
> > old one, leaving me with the default net two kernels.
> > 
> > I don't think I have ever run "apt autoremove". I just did so on a
> > machine with five kernels installed; none were removed.
> 
> Hmm.  Maybe it's a difference between apt-get and apt, then?

There are some differences, but not for autoremove. They just
propose to autoremove packages when some are concerned. There
is a difference with aptitude, which autoremoves packages by
default, but Charles didn't mention aptitude.

-- 
Vincent Lefรจvre <vincent@vinc17.net> - 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)
Technical Details
Message-ID: <NZJoZ-c3tG-5@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>

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: Vincent Lefevre <vincent@vinc17.net>
Newsgroups: linux.debian.user
Subject: Re: APT::NeverAutoRemove::KernelCount "3"; Not quite working: I get  more than three kernels
Date: Sun, 15 Nov 2026 15:30:01 +0100
Message-ID: <NZJoZ-c3tG-5@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>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Sun Nov 15 14:26:50 2026
Old-Return-Path: <vincent@vinc17.net>
X-Amavis-Spam-Status: No, score=-1.899 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, GB_FAKE_RF=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
Mail-Followup-To: debian-user@lists.debian.org,
	Charles Curley <charlescurley@charlescurley.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Mailer-Info: https://www.vinc17.net/mutt/
User-Agent: Mutt/2.4.3+67 (b2844dd7) vl-188789 (2026-11-11)
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832901
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/20261115142635.GA568062@qaa.vinc17.org
Approved: robomod@news.nic.it
Lines: 21
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Charles Curley <charlescurley@charlescurley.com>
X-Original-Date: Sun, 15 Nov 2026 15:26:35 +0100
X-Original-Message-ID: <20261115142635.GA568062@qaa.vinc17.org>
X-Original-References: <20261114170142.1a7283e6@hawk.localdomain>
 <avkeN-Tw0ppxgzqc@wooledge.org>
 <20261114220535.588a318e@peregrine.localdomain>
 <avm2v9BeMGRZx__7@wooledge.org>