From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JjBDE-0006i7-MA for garchives@archives.gentoo.org; Tue, 08 Apr 2008 10:38:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E634E04D0; Tue, 8 Apr 2008 10:37:58 +0000 (UTC) Received: from fmailhost04.isp.att.net (fmailhost04.isp.att.net [204.127.217.104]) by pigeon.gentoo.org (Postfix) with ESMTP id 5A4F6E04D0 for ; Tue, 8 Apr 2008 10:37:58 +0000 (UTC) Received: from [216.78.70.226] (host-216-78-70-226.jan.bellsouth.net[216.78.70.226]) by isp.att.net (frfwmhc04) with ESMTP id <20080408103752H0400a33rre>; Tue, 8 Apr 2008 10:37:55 +0000 X-Originating-IP: [216.78.70.226] Message-ID: <47FB4AF6.3020300@bellsouth.net> Date: Tue, 08 Apr 2008 05:37:42 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080328 SeaMonkey/1.1.9 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: "emerge -DuvatN world" doesn't show all upgradeable packages References: <2577300.OLZLf1hHOn@schmarck.cn> <20080408110538.0e9e1a47@zaphod.digimed.co.uk> <4652642.MrjnKLfzT5@schmarck.cn> In-Reply-To: <4652642.MrjnKLfzT5@schmarck.cn> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 51f7af4d-773b-4ff2-8ca2-86d07b22fd62 X-Archives-Hash: 60e39384df96266508f69380c46902b7 Michael Schmarck wrote: > <> > > Connected question: How do I quickly find all the packages that > got installed as a dependency, but which are no longer needed, > because the dependent package got removed (as an example, I'd > like to find kde-i18n, because that used to be a dependency of > kde-meta and kde-meta is no longer installed). > > Thanks, > > Michael > > First things first. Use caution with this. A LOT of caution. Always do a --pretend first, no exception. I would strongly recommend you to never let it just remove packages, always remove them by hand. That's how I do it anyway. emerge -p --depclean That will tell you packages that are installed and !may! not be needed by other packages. Note all the warnings here? I have not had anything serious removed by using this in ages but strange things can happen. You need to be careful with this. Remove the wrong thing and it can be a uphill battle to get it fixed. If you have a problem with things being removed from your world file, someone may can give you the command to rebuild it. I'd backup the current one first, just in case. I'm pretty sure there is a way to do that but can't recall at the moment. I have never had to do that before. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list