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 via email to