Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge problem - removing old libraries?
Date: Mon, 12 Mar 2012 18:56:56
Message-Id: 1331578536.5826.0@numa-i
In Reply to: Re: [gentoo-user] emerge problem - removing old libraries? by Michael Hampicke
1 On 03/12/2012 01:23:21 PM, Michael Hampicke wrote:
2 > > man qfile and look at the section on finding orphan files.
3 > >
4 > > Emerge portage-utils if you don't have qfile.
5 >
6 > I just ran
7 > # find /usr/lib* -type f -print0 | xargs -0 qfile -o | more
8 >
9 > an was suprised how much orphans there are, already excluding the
10 > python
11 > and perl stuff.
12 >
13 > Here's some suprising stuff:
14 >
15 > /usr/lib64/systemd/system/canberra-system-shutdown-reboot.service
16
17 SNIP
18
19 I've found out a strange effect.
20
21 Many files in /usr/lib64 are NOT recorded by portage but only the
22 corresponding names in
23 /usr/lib
24
25 Therefore I've used
26
27 find -L /usr/lib -regextype posix-extended -regex '.*.so(\.[0-9])+'
28 -type f -print0 | xargs -0 qfile -o | more
29
30 which says I don't have a single orphan on my machine.
31
32 Here /usr/lib is a symlink to /usr/lib64
33
34 Helmut.

Replies

Subject Author
Re: [gentoo-user] emerge problem - removing old libraries? Michael Hampicke <gentoo-user@××××.biz>