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 1PIYXa-0002sZ-OZ for garchives@archives.gentoo.org; Wed, 17 Nov 2010 03:18:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1166FE088C; Wed, 17 Nov 2010 03:18:24 +0000 (UTC) Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id E473DE088C for ; Wed, 17 Nov 2010 03:18:23 +0000 (UTC) Received: by iwn3 with SMTP id 3so1868904iwn.40 for ; Tue, 16 Nov 2010 19:18:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Ig/dt1r2n5W5Y0nqWzxoC8TNp2H7OgMR6ch8OOXf/to=; b=OVdAuiVtmv7SXqGhwdKZJQD9GBp8shgS1bxkr1vSg5jnpQmKFB/7xiIPxV1K5glEJ0 b51Jzdj96f88g5bvJaYaImLFED2SLUSC6Ngpa4IV8IGWa80Mfkzn/AxhPxEy49OkKFR+ LHZvzUfj9Kbc2JthzKbJd5b1X5/BET6WThMbc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=xjIkjofQhZs7nAR2dU1r7g4JkolF4WU2rF7+3zA3YIspubUKpx6D8tFoszlPSvaJTp Jpp7hSxDttGBpQExS6t0o+srq/jOs+yeuR11uqI+g83tzIk3x9vU1/ne0f0h+STFbRXj pDiKWvTitR3GeFldxxNFRWN0m1e5K4Zp8/ZW0= 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 Received: by 10.231.13.134 with SMTP id c6mr6427562iba.140.1289963903663; Tue, 16 Nov 2010 19:18:23 -0800 (PST) Received: by 10.42.117.9 with HTTP; Tue, 16 Nov 2010 19:18:23 -0800 (PST) In-Reply-To: <20101117020359.GA9235@math.princeton.edu> References: <20101117020359.GA9235@math.princeton.edu> Date: Tue, 16 Nov 2010 19:18:23 -0800 Message-ID: Subject: Re: [gentoo-user] Crufted with perl modules? From: Grant To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b31ceb0a-c082-46fa-97b2-8c8af1d5748a X-Archives-Hash: b07237a00bc6420060f054636ba52434 >> > qfile -orphans ? >> >> That sounds promising but I get: >> >> # qfile --orphans >> Usage: qfile : list all pkgs owning files >> > > qfile --orphans needs to take input a filename. > > So to go through your system looking for all orphaned files, you do > something like > > find / -exec qfile -o =A0'{}' \; > > ... which will produce a load of output that you don't want. So best > to (1) restrict to smaller subdirectories (instead of /, do > /usr/lib/perl5), and (2) redirect the output to disk. Thanks Willie, that gave me a great list. Very cool command. Almost all the orphaned stuff in /usr/lib/perl5 is either in: /usr/lib/perl5/site_perl/5.12.2 with corresponding but not orphaned contents in: /usr/lib/perl5/vendor_perl/5.12.2 or the orphaned stuff is in: /usr/lib/perl5/5.12.2/x86_64-linux Do the orphaned files sound OK to delete in this case? Is there a slick way to do so? - Grant