Debian Bug report logs - #979631
Document AutomaticRemove::Kernels facts somewhere

version graph

Package: apt; Maintainer for apt is APT Development Team <[email protected]>; Source for apt is src:apt (PTS, buildd, popcon).

Reported by: 積丹尼 Dan Jacobson <[email protected]>

Date: Sat, 9 Jan 2021 12:27:02 UTC

Severity: normal

Found in version apt/2.1.16

Full log


Message #22 received at [email protected] (full text, mbox, reply):

Received: (at control) by bugs.debian.org; 10 Jan 2021 00:43:17 +0000
From [email protected] Sun Jan 10 00:43:17 2021
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-14.6 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HAS_BUG_NUMBER,
	RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,
	SPF_PASS,TXREP autolearn=ham autolearn_force=no
	version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 150; neutral, 87; spammy,
	0. spammytokens: hammytokens:0.000-+--Klode,
	0.000-+--Hx-spam-relays-external:sk:jidanni,
	0.000-+--Hx-spam-relays-external:jidanni.org, [email protected],
	0.000-+--jakdebianorg
Return-path: <[email protected]>
Received: from dog.elm.relay.mailchannels.net ([23.83.212.48]:60426)
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1kyOpA-00038Z-4u; Sun, 10 Jan 2021 00:43:17 +0000
X-Sender-Id: dreamhost|x-authsender|[email protected]
Received: from relay.mailchannels.net (localhost [127.0.0.1])
	by relay.mailchannels.net (Postfix) with ESMTP id 8849E341F03;
	Sun, 10 Jan 2021 00:35:48 +0000 (UTC)
Received: from pdx1-sub0-mail-a30.g.dreamhost.com (100-96-5-83.trex.outbound.svc.cluster.local [100.96.5.83])
	(Authenticated sender: dreamhost)
	by relay.mailchannels.net (Postfix) with ESMTPA id C0A55341D8D;
	Sun, 10 Jan 2021 00:35:46 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|[email protected]
Received: from pdx1-sub0-mail-a30.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
	(using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)
	by 0.0.0.0:2500 (trex/5.18.11);
	Sun, 10 Jan 2021 00:35:48 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|[email protected]
X-MailChannels-Auth-Id: dreamhost
X-Occur-Well-Made: 2a025ee77bad5b21_1610238947929_754069527
X-MC-Loop-Signature: 1610238947929:1869901240
X-MC-Ingress-Time: 1610238947929
Received: from pdx1-sub0-mail-a30.g.dreamhost.com (localhost [127.0.0.1])
	by pdx1-sub0-mail-a30.g.dreamhost.com (Postfix) with ESMTP id 61BDC7EEDD;
	Sat,  9 Jan 2021 16:35:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
	:subject:references:date:message-id:mime-version:content-type;
	 s=jidanni.org; bh=IcqcX0ptVAv5zP9iiUxGY6miz+Q=; b=f3lUQVkPSj+Fz
	M4Vco0FJ7DfhhY6NC++IVlsNIJkAF7g/C1fLYcKnZ4+hip8woPOp5sLud+V19G59
	S5AlNCptm8mapLH7XGn2qXBz6HJhORojRjlYSd38MfstWfFMMjyBuhAW9GmzAHDU
	BaljdU1BgeR80AxPvRIeMnDn0OWStY=
Received: from jidanni.org (114-46-59-131.dynamic-ip.hinet.net [114.46.59.131])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	(Authenticated sender: [email protected])
	by pdx1-sub0-mail-a30.g.dreamhost.com (Postfix) with ESMTPSA id 00F8E7EED9;
	Sat,  9 Jan 2021 16:35:45 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a30
From: 積丹尼 Dan Jacobson <[email protected]>
To: Julian Andres Klode <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: Bug#979631: APT::Get::AutomaticRemove::Kernels: also allow
 keeping N newest
References: <[email protected]>
	<[email protected]>
Date: Sun, 10 Jan 2021 08:35:42 +0800
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain
Delivered-To: [email protected]
retitle 979631 Document AutomaticRemove::Kernels facts somewhere
thanks
>>>>> "JAK" == Julian Andres Klode <[email protected]> writes:
JAK> There seems to be a misunderstanding on your side here - we always keep

That is all great, but documented nowhere in /usr/share/doc nor any man
page.

Without knowing all that, users will worry or continue to rely on
programs like:

# cat bin/remove-oldest-kernel
#!/bin/bash -eux
# remove my oldest kernel to free disk space
# Copyright       : http://www.fsf.org/copyleft/gpl.html
# Author          : Dan Jacobson -- http://jidanni.org/
# Created On      : June 2007
# Last Modified On: Wed Apr 10 13:30:58 2019
# Update Count    : 126
ls -1 /boot/vmlinuz*
apt-show-versions -r -p "^linux-(doc|image)-[0-9]+\."
echo Remove \#...
set -- $(aptitude -F %p search ~nlinux-image-.........*~o)
echo [hit ^D to get out]
select kernel
do
   aptitude purge $kernel
break
done



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Sep 22 09:20:27 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.