From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.62)
	(envelope-from <gentoo-user+bounces-60408-garchives=archives.gentoo.org@gentoo.org>)
	id 1HKei3-0005Tb-L0
	for garchives@archives.gentoo.org; Fri, 23 Feb 2007 17:59:56 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l1NHveif004431;
	Fri, 23 Feb 2007 17:57:40 GMT
Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226])
	by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l1NHnMjk025204
	for <gentoo-user@lists.gentoo.org>; Fri, 23 Feb 2007 17:49:23 GMT
Received: by wr-out-0506.google.com with SMTP id i21so790840wra
        for <gentoo-user@lists.gentoo.org>; Fri, 23 Feb 2007 09:49:22 -0800 (PST)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=i9Wyv+InpliZPfnWwuVSdIwMbMVmHJcFHnnJg0JwUnMWuVrUCFSxfCfFrLr5Au9SEsze9zBMlZGMVH1D4CBAQjACkugnz/X95RUbk8LO4u5Ee9tObMOXxkXkYTrK693i1t5lNjMMLY0AGd6xeFxlYi6y+KSzWSRRwVw5sgtAOzI=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=cUFYgi3MyRVxpcvw5huZYxWO7mm7dAYFoKTPV271VJzGn8RL+CIQFBh4G82E4WI06bAsB/OKolYCWemOwbjunNate4rkH3U620EoJSToSmWyAUAHGE1sFdevfZLzSNtViYydWzQooo942G83c3lMFJ/qypScWWGcnODS5F8sac4=
Received: by 10.115.47.1 with SMTP id z1mr1134309waj.1172252958168;
        Fri, 23 Feb 2007 09:49:18 -0800 (PST)
Received: by 10.114.176.15 with HTTP; Fri, 23 Feb 2007 09:49:18 -0800 (PST)
Message-ID: <49bf44f10702230949ld61e0c5x4a0f85ef295e188f@mail.gmail.com>
Date: Fri, 23 Feb 2007 09:49:18 -0800
From: Grant <emailgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Portage wants to re-emerge old kernel sources
In-Reply-To: <1172188280.22948.8.camel@marcec.huntemann.uni-oldenburg.de>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <49bf44f10702220616w7e397153m524b2644388603ff@mail.gmail.com>
	 <200702221659.26549.bo.andresen@zlin.dk>
	 <49bf44f10702221530r4439bcbbq8a51865f60a86906@mail.gmail.com>
	 <1172188280.22948.8.camel@marcec.huntemann.uni-oldenburg.de>
X-Archives-Salt: 9d39acd0-e6d5-4b17-af6f-7937e501e2f8
X-Archives-Hash: e1270014d4b3bd5464f88982bf1e2b61

> > > > On one of my Gentoo systems, portage wants to re-emerge
> > > > hardened-sources-2.6.16-r10 and hardened-sources-2.6.14-r7 because of
> > > > (-doc%).  I'm currently using hardened-sources-2.6.18-hardened, but
> > > > whenever new kernel sources are emerged, I just manually rm -rf the
> > > > old sources in /usr/src.  I guess portage wants to re-emerge the old
> > > > sources because it thinks they are still installed.
> > > >
> > > > How can I let portage know that those old sources aren't installed anymore?
> > >
> > > By unmerging them ?
> > >
> > > # emerge -Cva =hardened-sources-2.6.16-r10 =hardened-sources-2.6.14-r7
> >
> > How can I see which versions of hardened-sources portage thinks are
> > currently installed?  I guess I should manually unmerge old sources as
> > above instead of using rm -rf.
> >
> > - Grant
>
> Yes, you can:
>
> $ equery list --duplicates [<searchstring>]
>
> In your case <searchstring> should be 'sources'. Without <searchstring>
> it looks for all duplicates, installed in so-called slots.

It is true then that emerge --depclean never unmerges slotted packages?

- Grant
-- 
gentoo-user@gentoo.org mailing list