From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H18pP-0003QP-Vu for garchives@archives.gentoo.org; Sun, 31 Dec 2006 22:06:52 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBVM504L023993; Sun, 31 Dec 2006 22:05:00 GMT Received: from smtp22.poczta.onet.pl (smtp22.poczta.onet.pl [213.180.130.93]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kBVM4xVk011411 for ; Sun, 31 Dec 2006 22:04:59 GMT Received: from bqq37.neoplus.adsl.tpnet.pl ([83.29.84.37]:4614 "EHLO [192.168.0.2]") by ps22.test.onet.pl with ESMTP id ; Sun, 31 Dec 2006 23:04:53 +0100 Message-ID: <459833F6.2000208@poczta.onet.pl> Date: Sun, 31 Dec 2006 23:04:38 +0100 From: =?windows-1250?Q?Marek_Wr=F3bel?= User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Re: emerge --depclean question References: <5bdc1c8b0612301751k5f65c464nf8b9bd99c3b75091@mail.gmail.com> <5bdc1c8b0612311048p7b4e7a8dm508337cc8ad52c2@mail.gmail.com> In-Reply-To: <5bdc1c8b0612311048p7b4e7a8dm508337cc8ad52c2@mail.gmail.com> X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=windows-1250 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id kBVM505H023993 X-Archives-Salt: 6ba8c563-5044-4e87-8cfa-505f5c9f8252 X-Archives-Hash: 5131ceb5129757b177a77d94814ab176 Mark Knecht wrote: > 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: >=20 > 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=F3bel --=20 gentoo-amd64@gentoo.org mailing list