1 |
On Tue, 16 Nov 2010 19:18:23 -0800, Grant wrote: |
2 |
|
3 |
> > find / -exec qfile -o '{}' \; |
4 |
|
5 |
> Thanks Willie, that gave me a great list. Very cool command. Almost |
6 |
> all the orphaned stuff in /usr/lib/perl5 is either in: |
7 |
> |
8 |
> /usr/lib/perl5/site_perl/5.12.2 |
9 |
> |
10 |
> with corresponding but not orphaned contents in: |
11 |
> |
12 |
> /usr/lib/perl5/vendor_perl/5.12.2 |
13 |
|
14 |
Does the first directory contain symlinks to the files in the second? You |
15 |
should exclude symlinks from the process by adding -type f to the find |
16 |
command (you can clear up dangling symlinks later). |
17 |
|
18 |
> or the orphaned stuff is in: |
19 |
> |
20 |
> /usr/lib/perl5/5.12.2/x86_64-linux |
21 |
> |
22 |
> Do the orphaned files sound OK to delete in this case? Is there a |
23 |
> slick way to do so? |
24 |
|
25 |
If you know which modules you installed with CPAN, you should be able to |
26 |
tell which directory contains the files you need to get rid of. Then run |
27 |
the find ... --orphans command over that directory and feed its output to |
28 |
rm. |
29 |
|
30 |
|
31 |
-- |
32 |
Neil Bothwick |
33 |
|
34 |
Will the last human please uninstall internet.exe. |