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 1MDn4P-0002j3-EA for garchives@archives.gentoo.org; Mon, 08 Jun 2009 22:11:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7146E02B3; Mon, 8 Jun 2009 22:11:55 +0000 (UTC) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by pigeon.gentoo.org (Postfix) with ESMTP id 82B06E02B3 for ; Mon, 8 Jun 2009 22:11:55 +0000 (UTC) Received: by ewy9 with SMTP id 9so4192216ewy.34 for ; Mon, 08 Jun 2009 15:11:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=BPqcpq2/rbnfRl7PY345WxQyIQFXprsT1qy0sMuKH9s=; b=vsp720UaqXx/8c0ZCbBkWsfbWraykxGd98lKTgEdkNy2WsAk/Qtp97xkI88mfswVFH UkX3SuGQ9hGJLzi7QBDaCa+CRSl9cTPFdRwiGUHGLa0GYGpMRqLrHeYmVHQOp5a8F9jq IhuHdJ+0Ff7ElARIys1vdjyYat5N1YI2up6Lk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=cx2GgqhReBEjA8o4FyDIakvXw8DF2/32hA49A2mgFqosLFqkUhPiNnpVgAG+p6lqTt HEjZAd/3ZIVDj7WK8fbLYxdqhCB+MCg8jtdrpegUj7xwaQj/aaIgZC3F5/CGYtpmkbu3 lwcBh/6JwGVRcFHn9FtgX1y2rcWGgoKweeHd8= Received: by 10.210.128.17 with SMTP id a17mr4968668ebd.51.1244499114859; Mon, 08 Jun 2009 15:11:54 -0700 (PDT) Received: from nazgul.localnet (196-210-153-123-rrdg-esr-2.dynamic.isadsl.co.za [196.210.153.123]) by mx.google.com with ESMTPS id 7sm258926eyb.35.2009.06.08.15.11.53 (version=SSLv3 cipher=RC4-MD5); Mon, 08 Jun 2009 15:11:54 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Finding orphaned libs Date: Tue, 9 Jun 2009 00:10:22 +0200 User-Agent: KMail/1.11.4 (Linux/2.6.29-gentoo-r5; KDE/4.2.4; x86_64; ; ) References: <200906082244.18324.alan.mckinnon@gmail.com> <20090608215408.3c4b4c91@krikkit.digimed.co.uk> In-Reply-To: <20090608215408.3c4b4c91@krikkit.digimed.co.uk> 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-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906090010.22562.alan.mckinnon@gmail.com> X-Archives-Salt: 59b0f208-5b72-4cf0-97ef-381114583514 X-Archives-Hash: b2f5b0eb249e2b5f044303f411328f6c On Monday 08 June 2009 22:54:08 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. Thanks, that's just the biscuit :-) I really need to start using those q* commands. After 5 years on gentoo, I reckon it's about time... -- alan dot mckinnon at gmail dot com