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 |