Gentoo Archives: gentoo-user

From: Marc Joliet <marcec@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Portage wants to re-emerge old kernel sources
Date: Fri, 23 Feb 2007 00:00:17
Message-Id: 1172188280.22948.8.camel@marcec.huntemann.uni-oldenburg.de
1 Am Donnerstag, den 22.02.2007, 15:30 -0800 schrieb Grant:
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 anymore?
10 > >
11 > > By unmerging them ?
12 > >
13 > > # emerge -Cva =hardened-sources-2.6.16-r10 =hardened-sources-2.6.14-r7
14 >
15 > How can I see which versions of hardened-sources portage thinks are
16 > currently installed? I guess I should manually unmerge old sources as
17 > above instead of using rm -rf.
18 >
19 > - Grant
20
21 Yes, you can:
22
23 $ equery list --duplicates [<searchstring>]
24
25 In your case <searchstring> should be 'sources'. Without <searchstring>
26 it looks for all duplicates, installed in so-called slots.
27
28 'man equery' for more info. The tool is in the gentoolkit package.
29
30 P.S.: Hi gentoo-user! YAN - Yet Another Newbie!
31 --
32 HTH,
33 Marc Joliet

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Portage wants to re-emerge old kernel sources Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Portage wants to re-emerge old kernel sources Grant <emailgrant@×××××.com>