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 1MDoex-0003ak-S6 for garchives@archives.gentoo.org; Mon, 08 Jun 2009 23:53:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E896E03D9; Mon, 8 Jun 2009 23:53:46 +0000 (UTC) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.158]) by pigeon.gentoo.org (Postfix) with ESMTP id D885FE03D9 for ; Mon, 8 Jun 2009 23:53:45 +0000 (UTC) Received: by yw-out-1718.google.com with SMTP id 5so14321441ywm.46 for ; Mon, 08 Jun 2009 16:53:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=iQv1Nno/+Upr7Owv/ysc8tZYczW96WztKrosBOZa7cA=; b=srgeI4Nw7T5xkElb+dda/ZaDyUw1s+g6C3biRxWf92ZyUPEr12x4JeXUJReLnDW5f7 jDNKhnN5kTQzBgZNmsOQ7SWlp+OXokBnrP9mTe/JyrR+3Bw4FbNiC0/T/HRYNgDcDPWz YMWtKpsBuMAlZZeZKnxkzrgGcWhoZ4qHE5hUc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=e/3k1ECw9zQXg/niVutE/4xKs0+Zdb5f5+ZQMFlBbpCYxXYkOZNkLZ57GmTUFIi9vd 4prW5/wMqprXEoXqc1bJhGrnXJodXiGVvwrNbFGoAWLPJg6wdmajl6JNlSWrAwWa68JX b3D1xspF30qW/yVFNynokn5uDPp84BJGJWtR8= Received: by 10.90.70.6 with SMTP id s6mr2799349aga.109.1244505225331; Mon, 08 Jun 2009 16:53:45 -0700 (PDT) Received: from ?64.89.163.19? (r163h19.dixie-net.com [64.89.163.19]) by mx.google.com with ESMTPS id 4sm670209aga.56.2009.06.08.16.53.06 (version=SSLv3 cipher=RC4-MD5); Mon, 08 Jun 2009 16:53:44 -0700 (PDT) Message-ID: <4A2DA437.2070501@gmail.com> Date: Mon, 08 Jun 2009 18:52:23 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090529 SeaMonkey/1.1.16 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] Finding orphaned libs References: <200906082244.18324.alan.mckinnon@gmail.com> <20090608215408.3c4b4c91@krikkit.digimed.co.uk> In-Reply-To: <20090608215408.3c4b4c91@krikkit.digimed.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 97ae1d89-a537-41ee-aef6-62d909fd3a40 X-Archives-Hash: e6257bfc8c2f5e74bbb1bfcf8afdc1b5 Neil Bothwick wrote: > On Mon, 8 Jun 2009 22:44:18 +0200, Alan McKinnon wrote: > > >> Is there an easy way to detect the orphaned libs on and old machine >> who's install dates back to 2004? The only idea I can come up with is >> >> for I in /usr/lib/*.so.* ; do equery belongs $I ; done >> > > qfile --orphans /usr/lib/*.so.* > > or, maybe cleaner > > qfile --orphans $(find -H /usr/lib /lib -type f) > > which avoids checking all the symlinks. > > Then run symlinks remove any dangling links left over. > > > Questions: You knew I subscribed to this list. lol I ran the command: find -H /usr/lib /lib -type f | xargs qfile -o and I got a lot of hits. I'm just going to post snippets of the directories here. It is a LONG list otherwise. /usr/lib/gimp/2.0/plug-ins/ /usr/lib/perl5/site_perl/5.8.8/i486-linux/sys/ /usr/lib/python2.5/site-packages/dbus/ /usr/lib/python2.5/site-packages/Numeric/ /usr/lib/python2.5/site-packages/PyQt4/uic/ /usr/lib/python2.5/site-packages/Pyrex/Plex/ /usr/lib/portage/pym/ Some of those directories have additional directories in them but I tried to hit the highlights. Now to my questions. Can these be deleted? Should one make certain these doesn't belong to some package somewhere? Should I update my backups BEFORE deleting these? o_O If you want the whole list, let me know. Be forewarned tho, it is a huge list even if I leave out the kernel sources for my old trusty 2.6.23. Thanks much. Dale :-) :-)