1 |
>> > qfile -orphans ? |
2 |
>> |
3 |
>> That sounds promising but I get: |
4 |
>> |
5 |
>> # qfile --orphans |
6 |
>> Usage: qfile <opts> <filename> : list all pkgs owning files |
7 |
>> |
8 |
> |
9 |
> qfile --orphans needs to take input a filename. |
10 |
> |
11 |
> So to go through your system looking for all orphaned files, you do |
12 |
> something like |
13 |
> |
14 |
> find / -exec qfile -o '{}' \; |
15 |
> |
16 |
> ... which will produce a load of output that you don't want. So best |
17 |
> to (1) restrict to smaller subdirectories (instead of /, do |
18 |
> /usr/lib/perl5), and (2) redirect the output to disk. |
19 |
|
20 |
Thanks Willie, that gave me a great list. Very cool command. Almost |
21 |
all the orphaned stuff in /usr/lib/perl5 is either in: |
22 |
|
23 |
/usr/lib/perl5/site_perl/5.12.2 |
24 |
|
25 |
with corresponding but not orphaned contents in: |
26 |
|
27 |
/usr/lib/perl5/vendor_perl/5.12.2 |
28 |
|
29 |
or the orphaned stuff is in: |
30 |
|
31 |
/usr/lib/perl5/5.12.2/x86_64-linux |
32 |
|
33 |
Do the orphaned files sound OK to delete in this case? Is there a |
34 |
slick way to do so? |
35 |
|
36 |
- Grant |