public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Wróbel" <smbmarek@poczta.onet.pl>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Re: emerge --depclean question
Date: Sun, 31 Dec 2006 23:04:38 +0100	[thread overview]
Message-ID: <459833F6.2000208@poczta.onet.pl> (raw)
In-Reply-To: <5bdc1c8b0612311048p7b4e7a8dm508337cc8ad52c2@mail.gmail.com>

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).

You have run emerge -uDN, so none of your packages (except those listed
by -p --depclean) should be linked with any of libraries to be removed.
I think that running --depclean will not break your system or when
something is broken, it will be remerged by revdep-rebuild without
pulling in removed packages.

Running revdep-rebuild after removing only some packages pending removal
isn't a good thing, because remaining ones are likely to be broken. I
recommend running revdep-rebuild after depclean is completed.

Of course, you should earlier revise your USE flags to check whether
some features needed by you weren't excluded. I cannot also guarantee
anything, so if it is a critical machine, you should undertake some
safety steps like quickpkg'ing packages before removal.

Hope it helps,
Marek Wróbel
-- 
gentoo-amd64@gentoo.org mailing list



  reply	other threads:[~2006-12-31 22:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-31  1:51 [gentoo-amd64] emerge --depclean question Mark Knecht
2006-12-31 13:11 ` [gentoo-amd64] " Duncan
2006-12-31 15:09   ` Mark Knecht
2006-12-31 18:48   ` Mark Knecht
2006-12-31 22:04     ` Marek Wróbel [this message]
2006-12-31 23:15       ` Mark Knecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=459833F6.2000208@poczta.onet.pl \
    --to=smbmarek@poczta.onet.pl \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox