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 1S7AQS-0003yj-AK for garchives@archives.gentoo.org; Mon, 12 Mar 2012 18:56:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14AC6E095B; Mon, 12 Mar 2012 18:56:42 +0000 (UTC) Received: from mta-2.ms.rz.rwth-aachen.de (mta-2.ms.rz.rwth-aachen.de [134.130.7.73]) by pigeon.gentoo.org (Postfix) with ESMTP id AFDBCE095B for ; Mon, 12 Mar 2012 18:55:36 +0000 (UTC) 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-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Received: from mx-out-1.rwth-aachen.de ([134.130.5.186]) by mta-2.ms.rz.RWTH-Aachen.de (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) with ESMTP id <0M0S00IIUCKOXDA0@mta-2.ms.rz.RWTH-Aachen.de> for gentoo-user@lists.gentoo.org; Mon, 12 Mar 2012 19:55:36 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.73,572,1325458800"; d="scan'208";a="169265580" Received: from relay-2.ms.rz.rwth-aachen.de (HELO relay.rwth-aachen.de) ([134.130.7.75]) by mx-1.rz.rwth-aachen.de with ESMTP; Mon, 12 Mar 2012 19:55:36 +0100 Received: from numa-i.igpm.rwth-aachen.de (numa-i.igpm.rwth-aachen.de [134.130.161.252]) by relay.rwth-aachen.de (8.14.4+Sun/8.13.8/1) with ESMTP id q2CItZa3006792 for ; Mon, 12 Mar 2012 19:55:35 +0100 (CET) Received: from numa-i (localhost [127.0.0.1]) by numa-i.igpm.rwth-aachen.de (Postfix) with ESMTP id 11FA72194 for ; Mon, 12 Mar 2012 19:55:37 +0100 (CET) Date: Mon, 12 Mar 2012 19:55:36 +0100 From: Helmut Jarausch Subject: Re: [gentoo-user] emerge problem - removing old libraries? To: gentoo-user@lists.gentoo.org References: <1331542409.24722.1@numa-i> <20120312100809.308e73f5@digimed.co.uk> <4F5DEAB9.4010905@hadt.biz> In-reply-to: <4F5DEAB9.4010905@hadt.biz> X-Mailer: Balsa 2.4.90-10-g605316b Message-id: <1331578536.5826.0@numa-i> X-Archives-Salt: 9b7545f3-5476-45ed-b1ce-c23b69be682c X-Archives-Hash: 0ba1a010450895082933120cbd30eb1c On 03/12/2012 01:23:21 PM, Michael Hampicke wrote: > > man qfile and look at the section on finding orphan files. > > > > Emerge portage-utils if you don't have qfile. > > I just ran > # find /usr/lib* -type f -print0 | xargs -0 qfile -o | more > > an was suprised how much orphans there are, already excluding the > python > and perl stuff. > > Here's some suprising stuff: > > /usr/lib64/systemd/system/canberra-system-shutdown-reboot.service SNIP I've found out a strange effect. Many files in /usr/lib64 are NOT recorded by portage but only the corresponding names in /usr/lib Therefore I've used find -L /usr/lib -regextype posix-extended -regex '.*.so(\.[0-9])+' -type f -print0 | xargs -0 qfile -o | more which says I don't have a single orphan on my machine. Here /usr/lib is a symlink to /usr/lib64 Helmut.