From: | Neil Bothwick <neil@××××××××××.uk> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Finding orphaned libs | ||
Date: | Mon, 08 Jun 2009 20:54:16 | ||
Message-Id: | 20090608215408.3c4b4c91@krikkit.digimed.co.uk | ||
In Reply to: | [gentoo-user] Finding orphaned libs by Alan McKinnon |
1 | On Mon, 8 Jun 2009 22:44:18 +0200, Alan McKinnon wrote: |
2 | |
3 | > Is there an easy way to detect the orphaned libs on and old machine |
4 | > who's install dates back to 2004? The only idea I can come up with is |
5 | > |
6 | > for I in /usr/lib/*.so.* ; do equery belongs $I ; done |
7 | |
8 | qfile --orphans /usr/lib/*.so.* |
9 | |
10 | or, maybe cleaner |
11 | |
12 | qfile --orphans $(find -H /usr/lib /lib -type f) |
13 | |
14 | which avoids checking all the symlinks. |
15 | |
16 | Then run symlinks remove any dangling links left over. |
17 | |
18 | |
19 | -- |
20 | Neil Bothwick |
21 | |
22 | It may be that your sole purpose in life is simply to serve as a |
23 | warning to others. |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-user] Finding orphaned libs | Alan McKinnon <alan.mckinnon@×××××.com> |
Re: [gentoo-user] Finding orphaned libs | Willie Wong <wwong@××××××××××××××.edu> |
Re: [gentoo-user] Finding orphaned libs | Dale <rdalek1967@×××××.com> |
Re: [gentoo-user] Finding orphaned libs | Volker Armin Hemmann <volkerarmin@××××××××××.com> |