1 |
> > > > On one of my Gentoo systems, portage wants to re-emerge |
2 |
> > > > hardened-sources-2.6.16-r10 and hardened-sources-2.6.14-r7 because of |
3 |
> > > > (-doc%). I'm currently using hardened-sources-2.6.18-hardened, but |
4 |
> > > > whenever new kernel sources are emerged, I just manually rm -rf the |
5 |
> > > > old sources in /usr/src. I guess portage wants to re-emerge the old |
6 |
> > > > sources because it thinks they are still installed. |
7 |
> > > > |
8 |
> > > > How can I let portage know that those old sources aren't installed anymore? |
9 |
> > > |
10 |
> > > By unmerging them ? |
11 |
> > > |
12 |
> > > # emerge -Cva =hardened-sources-2.6.16-r10 =hardened-sources-2.6.14-r7 |
13 |
> > |
14 |
> > How can I see which versions of hardened-sources portage thinks are |
15 |
> > currently installed? I guess I should manually unmerge old sources as |
16 |
> > above instead of using rm -rf. |
17 |
> > |
18 |
> > - Grant |
19 |
> |
20 |
> Yes, you can: |
21 |
> |
22 |
> $ equery list --duplicates [<searchstring>] |
23 |
> |
24 |
> In your case <searchstring> should be 'sources'. Without <searchstring> |
25 |
> it looks for all duplicates, installed in so-called slots. |
26 |
|
27 |
It is true then that emerge --depclean never unmerges slotted packages? |
28 |
|
29 |
- Grant |
30 |
-- |
31 |
gentoo-user@g.o mailing list |