1 |
2008/9/25 James <wireless@×××××××××××.com>: |
2 |
|
3 |
> Do you have any further advice, more detail or some more formalized methodology |
4 |
> to 'clean' the world file, in addition to what you have stated above? |
5 |
> |
6 |
|
7 |
Every entry in the world file that has a reverse dependency could be |
8 |
removed. Unfortunately there is no tool I know which can calculate |
9 |
reverse dependencies correctly. Maybe there is some functionality in |
10 |
pkgcore or paludis which I am not aware of. So others need to inform |
11 |
us about this. |
12 |
|
13 |
However, this question has already been raised and Alber Hopkins |
14 |
attached a python script in an earlier thread which should show |
15 |
unneeded entries in the world file. It did not work for me but I have |
16 |
attached it, maybe you have more luck than I. |
17 |
|
18 |
The solution I use is app-portage/udept. It is not maintained anymore |
19 |
so I recommend to use the ebuild from this bug [1] which at least has |
20 |
a few advantages over the ebuild in the tree. Udept used to be a |
21 |
powerful script but a few functions do not work properly anymore. The |
22 |
option for cleaning the world file works reliable though. Just invoke |
23 |
it with "dep -w" |
24 |
|
25 |
[1] http://bugs.gentoo.org/show_bug.cgi?id=172611 |
26 |
|
27 |
Regards, |
28 |
|
29 |
Daniel |