1 |
On 3/25/06, Constantine Kardaris <ckardaris@×××××.com> wrote: |
2 |
> Hi, |
3 |
> |
4 |
> i'd like to ask you if it's possible to unmerge the dependencies of a |
5 |
> meta package that installed automatic but have recorded in world file |
6 |
> after a while. |
7 |
> For example, i want to unmerge gnome-light but many dependencies have |
8 |
> already re-emerged without oneshot option and have recorded in world |
9 |
> file. So "emerge -C gnome-light || emerge --depclean" does not help anymore. |
10 |
|
11 |
You can find packages in world that are dependant upon something else |
12 |
you have installed with a script like this: |
13 |
|
14 |
for pkg in `cat /var/lib/portage/world` ; do |
15 |
count=`equery depends $pkg | grep / | wc -l` |
16 |
test "$count" -gt 0 && echo $pkg |
17 |
done |
18 |
|
19 |
You can then just remove these packages manually from world, and |
20 |
depclean will work correctly if you remove any of the dependencies. |
21 |
|
22 |
-Richard |
23 |
|
24 |
-- |
25 |
gentoo-user@g.o mailing list |