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 1PIe38-0000Mq-7S for garchives@archives.gentoo.org; Wed, 17 Nov 2010 09:11:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E39E1E07F2; Wed, 17 Nov 2010 09:10:54 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id A78F7E07F2 for ; Wed, 17 Nov 2010 09:10:54 +0000 (UTC) Received: from digimed.co.uk (grunthos.digimed.co.uk [192.168.1.4]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.digimed.co.uk (Postfix) with ESMTPSA id A3E7E481C5C for ; Wed, 17 Nov 2010 09:10:53 +0000 (GMT) Date: Wed, 17 Nov 2010 09:10:45 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Crufted with perl modules? Message-ID: <20101117091045.6ffa46ce@digimed.co.uk> In-Reply-To: References: <20101117020359.GA9235@math.princeton.edu> Organization: Digital Media Production X-Mailer: Claws Mail 3.7.6cvs62 (GTK+ 2.20.1; i686-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/.byyT2xph6zi3FEQ_LNA5MT"; protocol="application/pgp-signature" X-Archives-Salt: 4f1a8b52-e4e2-4229-bb6e-8dff01773a8a X-Archives-Hash: 9d6176dd41e0e8662efa79e893373711 --Sig_/.byyT2xph6zi3FEQ_LNA5MT Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, 16 Nov 2010 19:18:23 -0800, Grant wrote: > > find / -exec qfile -o =A0'{}' \; > Thanks Willie, that gave me a great list. Very cool command. Almost > all the orphaned stuff in /usr/lib/perl5 is either in: >=20 > /usr/lib/perl5/site_perl/5.12.2 >=20 > with corresponding but not orphaned contents in: >=20 > /usr/lib/perl5/vendor_perl/5.12.2 Does the first directory contain symlinks to the files in the second? You should exclude symlinks from the process by adding -type f to the find command (you can clear up dangling symlinks later). > or the orphaned stuff is in: >=20 > /usr/lib/perl5/5.12.2/x86_64-linux >=20 > Do the orphaned files sound OK to delete in this case? Is there a > slick way to do so? If you know which modules you installed with CPAN, you should be able to tell which directory contains the files you need to get rid of. Then run the find ... --orphans command over that directory and feed its output to rm. --=20 Neil Bothwick Will the last human please uninstall internet.exe. --Sig_/.byyT2xph6zi3FEQ_LNA5MT Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAkzjnBsACgkQum4al0N1GQNSMwCfYX9cJWyzPUOCttO67bMmIHEh YHMAniB2CCf8t3sXpcrmOjt8tkcE9gMT =zM+J -----END PGP SIGNATURE----- --Sig_/.byyT2xph6zi3FEQ_LNA5MT--