🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #568

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

#568
From: David Wright
Date: Tue, 17 Nov 2026 05:10
18 lines
5312 bytes
On Mon 16 Nov 2026 at 23:24:43 (-0500), Jeffrey Walton wrote:
> 
> Wandering a little off-topic... The thread piqued my interest because
> I run both a standard kernel and HWE kernel on Ubuntu.  It allows me
> to run, say, a 6.x kernel most of the time, and drop back to a 5.x
> kernel when things break.*  Under Ubuntu, the packages are:
> 
>    * Standard - linux-image-generic linux-headers-generic
>    * HWE - linux-headers-generic-hwe-24.04 linux-image-generic-hwe-24.04
> 
> So the question in my mind is, which kernels are removed when kernels
> from different lines are present?

I presume that you installed HWE manually, in which case I think it's
unaffected by autoremove. Is that so?

Cheers,
David.
Technical Details
Message-ID: <O0jC9-coog-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <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> <O08dI-chPl-9@gated-at.bofh.it> <O0b1T-cjra-1@gated-at.bofh.it> <O0jC9-coog-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: David Wright <deblis@lionunicorn.co.uk>
Newsgroups: linux.debian.user
Subject: Re: APT::NeverAutoRemove::KernelCount "3"; Not quite working: I get  more than three kernels
Date: Tue, 17 Nov 2026 06:10:01 +0100
Message-ID: <O0jC9-coog-1@gated-at.bofh.it>
References: <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> <O08dI-chPl-9@gated-at.bofh.it> <O0b1T-cjra-1@gated-at.bofh.it> <O0jC9-coog-3@gated-at.bofh.it>
X-Original-To: debian-user@lists.debian.org
X-Mailbox-Line: From debian-user-request@lists.debian.org  Tue Nov 17 05:02:37 2026
Old-Return-Path: <nobody@lionunicorn.co.uk>
X-Amavis-Spam-Status: No, score=-2.099 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, RCVD_IN_MSPIKE_H2=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .lionunicorn. - helo: .donkey.elm.relay.mailchannels. - helo-domain: .mailchannels.)  FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0 FROM_NBDY_ANON=1.17; rate: -2.33
X-Sender-ID: thundermail|x-authsender|david@lionunicorn.co.uk
X-Sender-ID: thundermail|x-authsender|david@lionunicorn.co.uk
X-Mc-Relay: Junk
X-Mailchannels-Senderid: thundermail|x-authsender|david@lionunicorn.co.uk
X-Mailchannels-Auth-ID: thundermail
X-Befitting-Broad: 64a782402ecb1ded_1794891741020_3888361581
X-Mc-Loop-Signature: 1794891741020:2421353754
X-Mc-Ingress-Time: 1794891741020
Authentication-Results: cloud225.thundercloud.uk;
        spf=pass (sender IP is 24.255.218.34) smtp.mailfrom=nobody@lionunicorn.co.uk smtp.helo=argo.corp
Received-Spf: pass (cloud225.thundercloud.uk: connection is authenticated)
Reply-To: debian-user@lists.debian.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Ppp-Message-ID: 
 <179489173840.1079233.8003585098592094775@cloud225.thundercloud.uk>
X-Ppp-Vhost: lionunicorn.co.uk
X-Rspamd-Queue-ID: 4jTCJp3zbDzGnsg
X-Rspamd-Server: mailclean11
X-Rspamd-Action: no action
X-Spamd-Result: default: False [2.60 / 999.00];
	REPLYTO_EQ_TO_ADDR(2.00)[];
	ENVFROM_SERVICE_ACCT(1.00)[];
	DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[];
	FORGED_SENDER(0.30)[deblis@lionunicorn.co.uk,nobody@lionunicorn.co.uk];
	ONCE_RECEIVED(0.20)[];
	R_DKIM_ALIGNED(-0.10)[strict];
	REPLYTO_MX_GOOD(-0.10)[bendel.debian.org];
	MIME_GOOD(-0.10)[text/plain];
	MX_GOOD(-0.10)[mail.lionunicorn.co.uk];
	UWH_IDENTITY(0.00)[1|ae58c0d2acab6afd|t=133|r=0|m=postfix|n=17|h=pppm:1:15/1+pppv:1:16/0|f=nv];
	FREEMAIL_ENVRCPT(0.00)[hotmail.co.uk];
	R_DKIM_ALLOW(0.00)[lionunicorn.co.uk:s=default];
	DMARC_POLICY_ALLOW(0.00)[lionunicorn.co.uk,none];
	TO_MATCH_ENVRCPT_ALL(0.00)[];
	MIME_TRACE(0.00)[0:+];
	RCPT_COUNT_ONE(0.00)[1];
	REPLYTO_DOM_NEQ_FROM_DOM(0.00)[];
	DKIM_TRACE(0.00)[lionunicorn.co.uk:+];
	ARC_NA(0.00)[];
	R_SPF_SOFTFAIL(0.00)[~all];
	FROM_NEQ_ENVFROM(0.00)[deblis@lionunicorn.co.uk,nobody@lionunicorn.co.uk];
	FROM_HAS_DN(0.00)[];
	RCVD_TLS_ALL(0.00)[];
	TO_DN_NONE(0.00)[];
	ASN(0.00)[asn:34931, ipnet:149.255.56.0/22, country:GB];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	MISSING_XM_UA(0.00)[];
	RCVD_COUNT_ONE(0.00)[1];
	HAS_REPLYTO(0.00)[debian-user@lists.debian.org]
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832957
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/avvf1hXnPKUnM1bv@argo.corp
Approved: robomod@news.nic.it
Lines: 18
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 16 Nov 2026 23:02:14 -0600
X-Original-Message-ID: <avvf1hXnPKUnM1bv@argo.corp>
X-Original-References: <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>
 <b1c795f330751c4af0240ab6357cca96@charlescurley.com>
 <avtgU6DyhaoMaA_7@argo.corp>
 <CAH8yC8msz+Bv2BvSjKMMoDwQubvr6pBGQMYR9=gPfLSq6VbdZw@mail.gmail.com>