1 |
On 10/22/2009 02:14 PM, Helmut Jarausch wrote: |
2 |
> Hi, |
3 |
> |
4 |
> is there an easy way to unmerge all packages which are no longer in |
5 |
> the current portage tree. |
6 |
> (Those make problems on update world) |
7 |
> |
8 |
> Many thanks for a hint, |
9 |
> Helmut. |
10 |
|
11 |
Quick 'n dirty one-liner: |
12 |
|
13 |
for f in $(qlist -IC); do stat /usr/portage/"$f" > /dev/null; done |
14 |
|
15 |
For packages not in the tree, you will get something like: |
16 |
|
17 |
stat: cannot stat `/usr/portage/x11-themes/foobar': No such file |
18 |
or directory |
19 |
|
20 |
meaning that x11-themes/foobar is not in the tree. Of course this |
21 |
doesn't check overlays. |