Gentoo Archives: gentoo-user

From: Harm Geerts <harmgeerts@××××.nl>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Portage wants to re-emerge old kernel sources
Date: Fri, 23 Feb 2007 00:03:22
Message-Id: 200702230054.02558.harmgeerts@home.nl
1 On Friday 23 February 2007, Grant wrote:
2 > > > On one of my Gentoo systems, portage wants to re-emerge
3 > > > hardened-sources-2.6.16-r10 and hardened-sources-2.6.14-r7 because of
4 > > > (-doc%). I'm currently using hardened-sources-2.6.18-hardened, but
5 > > > whenever new kernel sources are emerged, I just manually rm -rf the
6 > > > old sources in /usr/src. I guess portage wants to re-emerge the old
7 > > > sources because it thinks they are still installed.
8 > > >
9 > > > How can I let portage know that those old sources aren't installed
10 > > > anymore?
11 > >
12 > > By unmerging them ?
13 > >
14 > > # emerge -Cva =hardened-sources-2.6.16-r10 =hardened-sources-2.6.14-r7
15 >
16 > How can I see which versions of hardened-sources portage thinks are
17 > currently installed? I guess I should manually unmerge old sources as
18 > above instead of using rm -rf.
19
20 # default emerge search
21 emerge -s hardened-sources
22
23 # this works great for cleaning out old versions like you want
24 emerge -Pp hardened-sources
25
26 # fast portage searchtool
27 emerge eix && update-eix && eix hardened-sources
28 --
29 gentoo-user@g.o mailing list