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 ) id 1MFC9e-0000xG-Sb for garchives@archives.gentoo.org; Fri, 12 Jun 2009 19:11:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5688BE0660; Fri, 12 Jun 2009 19:11:09 +0000 (UTC) Received: from fmailhost01.isp.att.net (fmailhost01.isp.att.net [204.127.217.101]) by pigeon.gentoo.org (Postfix) with ESMTP id 22D26E0660 for ; Fri, 12 Jun 2009 19:11:09 +0000 (UTC) Received: from [192.168.0.108] (adsl-065-012-210-216.sip.bct.bellsouth.net[65.12.210.216]) by isp.att.net (frfwmhc01) with ESMTP id <20090612191108H0100lj9l8e>; Fri, 12 Jun 2009 19:11:08 +0000 X-Originating-IP: [65.12.210.216] Message-ID: <4A32A84B.2000008@pythontoo.com> Date: Fri, 12 Jun 2009 15:11:07 -0400 From: David User-Agent: Thunderbird 2.0.0.21 (X11/20090523) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Can I exclude a package from --depclean's consideration? References: <58965d8a0906110922u39145b35w8850b1a2767c4b43@mail.gmail.com> <20090611224525.4467a4e9@coercion> <58965d8a0906111136g2dda30c2n1494868bbe8df26b@mail.gmail.com> In-Reply-To: <58965d8a0906111136g2dda30c2n1494868bbe8df26b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 0db2b0b5-2cdd-401d-8fb4-ece8a42068df X-Archives-Hash: 0d8b31295b30d37bace50fc0745f35bf Paul Hartman wrote: > On Thu, Jun 11, 2009 at 11:45 AM, Mike Kazantsev wrote: > >>> So, my question: Is there a way to tell depclean to never remove *any* >>> version of gentoo-sources? >>> >> That's where portage-2.2 sets find another use. >> Just add following set to /usr/share/portage/config/sets.conf: >> >> [kernels] >> class = portage.sets.dbapi.OwnerSet >> world-candidate = False >> files = /usr/src >> >> And append "@kernels" line to /var/lib/portage/world_sets >> Now any installed (even with -1) kernel should be safe from ravenous >> depclean. >> > > Perfect! It does exactly what I wanted. I created sets.conf in > /etc/portage/ as Boris pointed out. > > Thank you very much for your help! > > > What would I add to /etc/portage/sets.conf to exclude gcc from depclean? thanks -david -- Powered by Gentoo GNU/Linux http://linuxcrazy.com