From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MrN9z-0004Wb-KY for garchives@archives.gentoo.org; Sat, 26 Sep 2009 02:37:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12E92E00C2; Sat, 26 Sep 2009 02:37:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E07C9E00C2 for ; Sat, 26 Sep 2009 02:37:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 91F306702C for ; Sat, 26 Sep 2009 02:37:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.207 X-Spam-Level: X-Spam-Status: No, score=-3.207 required=5.5 tests=[AWL=-0.608, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d9ewPTdASvuC for ; Sat, 26 Sep 2009 02:37:10 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 7875C67B38 for ; Sat, 26 Sep 2009 02:37:08 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MrN9m-0002xQ-TG for gentoo-user@gentoo.org; Sat, 26 Sep 2009 04:37:06 +0200 Received: from athedsl-380524.home.otenet.gr ([79.131.38.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Sep 2009 04:37:06 +0200 Received: from realnc by athedsl-380524.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Sep 2009 04:37:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: What causes a package to be brought in during a big emerge? Date: Sat, 26 Sep 2009 05:36:45 +0300 Organization: Lucas Barks Message-ID: References: <4ABD68BD.7070806@wht.com.au> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-380524.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090923 Thunderbird/3.0b4 In-Reply-To: <4ABD68BD.7070806@wht.com.au> Sender: news X-Archives-Salt: 815df0e0-7f64-4282-9f11-afd2e9b6f59d X-Archives-Hash: beceddf654f0a822121e6b0b93e094ff On 09/26/2009 04:05 AM, Andrew Lowe wrote: > Hi all, > I've done an: > > "emerge --pretend -NuD world" > > and whilst reviewing the output, it lists an old package that I played > around with in the past but now no longer need. In turn I do: > > "emerge -C oldPackageNoLongerNeeded" > > the package is removed and I in turn do another > > "emerge --pretend -NuD world" > > but "oldPackageNoLongerNeeded" is still there, although emerge tells me > its now gone from "U" to "N" ie Update to New. I've fired up "ufed" and > removed what I thought would be the appropriate USE tag, run the emerge > again and it's still there. I've tried: > > "equery depends oldPackageNoLongerNeeded" > > and it lists nothing as needing "oldPackageNoLongerNeeded" "equery depends" won't list anything unless the package is question is installed. > I've looked through the emerge help and nothing springs to mind as > telling me why "oldPackageNoLongerNeeded" is being brought in. > > So after that rambling intro, is there a package/utility that will tell > me, when in this situation, what package needs > "oldPackageNoLongerNeeded" and why it is being brought into my emerge. Yes, the package that will tell you is "emerge" itself. Use its "-t" option to get a dep-graph of why something is getting emerged. Also, you can use its "-v" option if you want to see if the package comes from some overlay. Furthermore, *after* "emerge -C oldPackageNoLongerNeeded", do: grep oldPackageNoLongerNeeded /var/lib/portage/world to see if it's still listed in the world file. If yes, remove all traces of it (you can simply edit this world file with a text editor, it's safe, but of course you might still want to make a backup of it.)