1 |
On Sunday 30 July 2006 01:05, Richard Fish wrote: |
2 |
> > But, basically, depclean wants to remove packages that equery says have |
3 |
> > direct dependencies. |
4 |
> |
5 |
> equery depends is unfortunately broken. It does not consider use flag |
6 |
> dependancies. |
7 |
|
8 |
Ahh, now that I didn't know. |
9 |
|
10 |
> Examples from your list: |
11 |
> - kdegraphics only depends on imlib if you have the imlib USE flag |
12 |
> set, which you do not. |
13 |
|
14 |
gnome-libs does directly depend on imlib though. |
15 |
|
16 |
> - cups only depends on gnutls if you have the gnutls USE flag set, |
17 |
> which you do not. |
18 |
|
19 |
That one I saw, and it did add to the confusion. |
20 |
libsoup does depend on gnutls, and gtkhtml depends on libsoup, and dvdrip |
21 |
depends on a version of gtkhtml that depends on libsoup, and dvdrip is in my |
22 |
world file. |
23 |
|
24 |
minimac ~ # emerge --unmerge gnutls |
25 |
[...] |
26 |
minimac ~ # emerge curl net-libs/libsoup gnome-base/gnome-vfs net-misc/neon |
27 |
net-misc/curl net-print/cups -pvt |
28 |
|
29 |
These are the packages that would be merged, in reverse order: |
30 |
|
31 |
Calculating dependencies... done! |
32 |
[ebuild R ] net-print/cups-1.1.23-r8 USE="nls pam samba slp ssl -gnutls" |
33 |
0 kB |
34 |
[ebuild R ] net-misc/neon-0.26.1 USE="nls ssl |
35 |
zlib -expat -gnutls -socks5 -static" 0 kB |
36 |
[ebuild R ] gnome-base/gnome-vfs-2.14.2 USE="hal ipv6 samba |
37 |
ssl -avahi -debug -doc -gnutls" 0 kB |
38 |
[ebuild R ] net-libs/libsoup-2.2.94 USE="ssl -debug -doc -static" 0 kB |
39 |
[ebuild N ] net-libs/gnutls-1.2.10 USE="crypt zlib -doc" 0 kB |
40 |
[ebuild R ] net-misc/curl-7.15.1-r1 USE="idn ipv6 |
41 |
ssl -ares -gnutls -kerberos -krb4 -ldap -test" 0 kB |
42 |
|
43 |
Total size of downloads: 0 kB |
44 |
minimac ~ # emerge world -Dnupv |
45 |
|
46 |
These are the packages that would be merged, in order: |
47 |
|
48 |
Calculating world dependencies... done! |
49 |
[ebuild N ] net-libs/gnutls-1.2.10 USE="crypt zlib -doc" 0 kB |
50 |
|
51 |
Total size of downloads: 0 kB |
52 |
minimac ~ # emerge world -Dnupvt |
53 |
|
54 |
These are the packages that would be merged, in reverse order: |
55 |
|
56 |
Calculating world dependencies... done! |
57 |
[nomerge ] media-video/dvdrip-0.97.10 USE="cdr gnome mplayer ogg perl |
58 |
subtitles xvid -minimal" |
59 |
[nomerge ] gnome-extra/gtkhtml-3.10.2 USE="-debug" |
60 |
[nomerge ] net-libs/libsoup-2.2.94 USE="ssl -debug -doc -static" |
61 |
[ebuild N ] net-libs/gnutls-1.2.10 USE="crypt zlib -doc" 0 kB |
62 |
|
63 |
Total size of downloads: 0 kB |
64 |
|
65 |
> If "emerge -DNuvp" does not want to merge anything, then the depclean |
66 |
> list is the list of packages that are not listed in |
67 |
> /var/lib/portage/world or system, and are also not a dependancy of |
68 |
> something in world or system. |
69 |
|
70 |
Been there so many times. |
71 |
I've worked my own way over the dependencies of these packages, and they |
72 |
aren't in world or system, but *are* dependencies of installed world listed |
73 |
packages. |
74 |
|
75 |
Ta |
76 |
|
77 |
-- |
78 |
Mike Williams |
79 |
|
80 |
-- |
81 |
gentoo-user@g.o mailing list |