From mboxrd@z Thu Jan 1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
by finch.gentoo.org with esmtp (Exim 4.60)
(envelope-from <gentoo-user+bounces-96577-garchives=archives.gentoo.org@lists.gentoo.org>)
id 1MEn35-0004zd-Fk
for garchives@archives.gentoo.org; Thu, 11 Jun 2009 16:22:43 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
by pigeon.gentoo.org (Postfix) with SMTP id C6F01E014B;
Thu, 11 Jun 2009 16:22:41 +0000 (UTC)
Received: from mail-gx0-f207.google.com (mail-gx0-f207.google.com [209.85.217.207])
by pigeon.gentoo.org (Postfix) with ESMTP id A46E2E014B
for <gentoo-user@lists.gentoo.org>; Thu, 11 Jun 2009 16:22:41 +0000 (UTC)
Received: by gxk3 with SMTP id 3so6537415gxk.10
for <gentoo-user@lists.gentoo.org>; Thu, 11 Jun 2009 09:22:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:sender:received:date
:x-google-sender-auth:message-id:subject:from:to:content-type
:content-transfer-encoding;
bh=txYk11kguhL2zq7uHqfyrZVg9OMaqSYrJ0qDDrmjtKw=;
b=A91p48jSwnuT9Mm89AakajZqdqeTUcUy/ZJbT/6H/xvgqz+qd8IiZckbj59K7D+y1t
CZamS0lItMTCMfbVciGGltGy1mMO8JLn4CltHATfrOGCuAMKEgT+1F04Fzqc6Sfopu0Z
IES6WqrzcedsM+LCaiPqDhXjKAVc744Q2n5gw=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:sender:date:x-google-sender-auth:message-id:subject
:from:to:content-type:content-transfer-encoding;
b=dQnHrXbslxuPW7bX1tTfDSKyI8n3ZgoYtOxXnAKBg25Wm+/ceIdnD//uko+dMB5Uft
oJlYJcBEzpIhEWUo/4t85OFQTSoQTRObjLkXV/L3ScVJQgZhWu65wQBHad2OnWJ/iMu6
VcYC1ygHSPGLmhjdjkjufSmHffKAMWA7zAT+o=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Sender: paul.hartman@gmail.com
Received: by 10.150.190.16 with SMTP id n16mr5374869ybf.323.1244737361354;
Thu, 11 Jun 2009 09:22:41 -0700 (PDT)
Date: Thu, 11 Jun 2009 11:22:41 -0500
X-Google-Sender-Auth: 3f7eb3cf663e1020
Message-ID: <58965d8a0906110922u39145b35w8850b1a2767c4b43@mail.gmail.com>
Subject: [gentoo-user] Can I exclude a package from --depclean's consideration?
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 11a38fae-8c03-425d-a5c5-893cd3c806c7
X-Archives-Hash: 191a09ea5a625eea8a1dcf77176abce1
"emerge --depclean" always wants to remove all but the most recent
version of gentoo-sources. I read the manpage and can't figure out how
to exclude this package. The manpage states:
"Packages that are part of the world set will always be kept."
However, if I have sys-kernel/gentoo-sources in world, it still wants
to remove all but the most recent version of that package, which I
think is the correct behavior... just not what I desire.
For now I am working around this by placing version-specific package
atoms into my world file, but I am just curious if there is a
different way of "masking" them from depclean -- one that does not
require me to manually edit my world file every time a new kernel
revision is installed.
So, my question: Is there a way to tell depclean to never remove *any*
version of gentoo-sources?
Thanks.