[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-amd64
Subject:    Re: [gentoo-amd64] Re: emerge --depclean question
From:       "Mark Knecht" <markknecht () gmail ! com>
Date:       2006-12-31 23:15:14
Message-ID: 5bdc1c8b0612311515l74b4d045tc22cb13c660a79ef () mail ! gmail ! com
[Download RAW message or body]

On 12/31/06, Marek Wróbel <smbmarek@poczta.onet.pl> wrote:
> Mark Knecht wrote:
> > <SNIP
> >   I'm proceeding along getting a number of packages removed which is
> > good. However here's an example one I'm not sure how to handle or why
> > it's showing up. I've run --depclean -p and see what appears to be an
> > unneeded library called libwmf. However when I try tracing my way back
> > to find what depending on it I eventually get to xine-ui which I use
> > all the time:
> >
> > lightning ~ # equery d libwmf
> > [ Searching for packages depending on libwmf... ]
> > media-gfx/imagemagick-6.3.0.5
> > lightning ~ # equery d imagemagick
> > [ Searching for packages depending on imagemagick... ]
> > gnome-extra/libgsf-1.14.2
> > media-libs/xine-lib-1.1.2-r3
> > media-video/transcode-1.0.2-r3
> > lightning ~ # equery d xine-lib
> > [ Searching for packages depending on xine-lib... ]
> > media-sound/amarok-1.4.3-r1
> > media-video/xine-ui-0.99.5_pre20060716
> > media-video/totem-2.16.4
> > lightning ~ #
>
> This issue can be related to changes in USE flags. xine-lib depends on
> imagemagick only when "imagemagick" USE flag is set. And imagemagck
> depends on libwmf only when "wmf" USE flag is set. So these packages
> were merged probably when you had these flags set. Later USE flags may
> have changed (new portage profile?) and currently they most likely are
> not set.
>
> Moreover, I have noticed that equery takes conditional dependencies into
> consideration regardless of USE flags state. Thus it shows that
> imagemagick is required by xine-lib even when it actually isn't (because
> you don't have "imagemagick" flag set).
>

This is pretty much what happened. I've finished removing all the
packages that depclean wanted me to and things look good now.
revdep-rebuild is happy. emerge -DuN world is happy. --depclean says
there is nothing to clean out.

It seems that maybe over time some of the packages higher up have had
USE flags added to them. Maybe the old package didn't make a function
prunable with a flag so the library got installed and later the flag
was added to prune it out but the new emerge only upgraded the package
and didn't remove the libraries that were no longer needed.

At least hat's the best I can figure out.

Everything is clean now. thanks for the help!

Cheers,
Mark

Happy 2007. Off to have a beer.

-- 
gentoo-amd64@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic