public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge problem - removing old libraries?
Date: Mon, 12 Mar 2012 19:55:36 +0100	[thread overview]
Message-ID: <1331578536.5826.0@numa-i> (raw)
In-Reply-To: <4F5DEAB9.4010905@hadt.biz>

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.




  reply	other threads:[~2012-03-12 18:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12  8:53 [gentoo-user] emerge problem - removing old libraries? Helmut Jarausch
2012-03-12 10:08 ` Neil Bothwick
2012-03-12 12:23   ` Michael Hampicke
2012-03-12 18:55     ` Helmut Jarausch [this message]
2012-03-12 20:11       ` Michael Hampicke
2012-03-12 17:12 ` Mark Knecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1331578536.5826.0@numa-i \
    --to=jarausch@igpm.rwth-aachen.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox