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.60) (envelope-from <gentoo-user+bounces-48333-garchives=archives.gentoo.org@gentoo.org>) id 1GBffG-0008Ue-Tv for garchives@archives.gentoo.org; Fri, 11 Aug 2006 22:39:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7BMbAJ4025594; Fri, 11 Aug 2006 22:37:10 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7BMYZB5028979 for <gentoo-user@lists.gentoo.org>; Fri, 11 Aug 2006 22:34:35 GMT Received: by nf-out-0910.google.com with SMTP id a25so1097743nfc for <gentoo-user@lists.gentoo.org>; Fri, 11 Aug 2006 15:34:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=YHhkXS1BqQYaarY18KYVt0mi4mzyERbSzpL+ZU5yEro06q6FkUhqFwkxoqZmsM1BAkvZGt2JIzJCZLIj231/AWa0CBYpckl+2mnBX2fmseLhktpPu2jF/UledPpCtIX00egkihojVGQtrTnQFMCIfzsgGJeGz9k6R0auCQpdjTw= Received: by 10.78.193.5 with SMTP id q5mr2388413huf; Fri, 11 Aug 2006 15:34:35 -0700 (PDT) Received: by 10.78.16.17 with HTTP; Fri, 11 Aug 2006 15:34:34 -0700 (PDT) Message-ID: <7573e9640608111534v1f4f9fe7r92ecad74c254ed7e@mail.gmail.com> Date: Fri, 11 Aug 2006 15:34:34 -0700 From: "Richard Fish" <bigfish@asmallpond.org> Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Removing unneeded libraries In-Reply-To: <20060811151047.10368.qmail@web86908.mail.ukl.yahoo.com> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@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 Content-Disposition: inline References: <20060811151047.10368.qmail@web86908.mail.ukl.yahoo.com> X-Google-Sender-Auth: f612b865c6a7e8f9 X-Archives-Salt: aaf00cdb-f2a7-4c36-a69c-cf412f26a1c7 X-Archives-Hash: 8f96c3d0b0b6ad873266ebe205a63075 On 8/11/06, JC Denton <jcdentonmail@yahoo.de> wrote: > Does "eclean" or "emerge --depclean" remove libs that are orphaned? Yes, provided you have not modified the files yourself. > The problem is, that my /usr/lib/... and /usr/include/ almost 1 GB in size! Sounds about right, but this command will generate a list of all library files that portage things should be installed: find /var/db/pkg/ -name CONTENTS | xargs grep /usr/lib/lib | awk '{ print $2 }' | sort You can diff that with the output of "ls /usr/lib/lib*" to see what may be there that portage doesn't know about. -Richard -- gentoo-user@gentoo.org mailing list