On Sunday 30 July 2006 01:05, Richard Fish wrote:
> > But, basically, depclean wants to remove packages that equery says have
> > direct dependencies.
>
> equery depends is unfortunately broken.  It does not consider use flag
> dependancies.

Ahh, now that I didn't know.

> Examples from your list:
> - kdegraphics only depends on imlib if you have the imlib USE flag
> set, which you do not.

gnome-libs does directly depend on imlib though.

> - cups only depends on gnutls if you have the gnutls USE flag set,
> which you do not.

That one I saw, and it did add to the confusion.
libsoup does depend on gnutls, and gtkhtml depends on libsoup, and dvdrip 
depends on a version of gtkhtml that depends on libsoup, and dvdrip is in my 
world file.

minimac ~ # emerge --unmerge gnutls
[...]
minimac ~ # emerge curl net-libs/libsoup gnome-base/gnome-vfs net-misc/neon 
net-misc/curl net-print/cups -pvt

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] net-print/cups-1.1.23-r8  USE="nls pam samba slp ssl -gnutls" 
0 kB
[ebuild   R   ] net-misc/neon-0.26.1  USE="nls ssl 
zlib -expat -gnutls -socks5 -static" 0 kB
[ebuild   R   ] gnome-base/gnome-vfs-2.14.2  USE="hal ipv6 samba 
ssl -avahi -debug -doc -gnutls" 0 kB
[ebuild   R   ] net-libs/libsoup-2.2.94  USE="ssl -debug -doc -static" 0 kB
[ebuild  N    ]  net-libs/gnutls-1.2.10  USE="crypt zlib -doc" 0 kB
[ebuild   R   ] net-misc/curl-7.15.1-r1  USE="idn ipv6 
ssl -ares -gnutls -kerberos -krb4 -ldap -test" 0 kB

Total size of downloads: 0 kB
minimac ~ # emerge world -Dnupv

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild  N    ] net-libs/gnutls-1.2.10  USE="crypt zlib -doc" 0 kB

Total size of downloads: 0 kB
minimac ~ # emerge world -Dnupvt

These are the packages that would be merged, in reverse order:

Calculating world dependencies... done!
[nomerge      ] media-video/dvdrip-0.97.10  USE="cdr gnome mplayer ogg perl 
subtitles xvid -minimal"
[nomerge      ]  gnome-extra/gtkhtml-3.10.2  USE="-debug"
[nomerge      ]   net-libs/libsoup-2.2.94  USE="ssl -debug -doc -static"
[ebuild  N    ]    net-libs/gnutls-1.2.10  USE="crypt zlib -doc" 0 kB

Total size of downloads: 0 kB

> If "emerge -DNuvp" does not want to merge anything, then the depclean
> list is the list of packages that are not listed in
> /var/lib/portage/world or system, and are also not a dependancy of
> something in world or system.

Been there so many times.
I've worked my own way over the dependencies of these packages, and they 
aren't in world or system, but *are* dependencies of installed world listed 
packages.

Ta

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list

Reply via email to