Dominic Fandrey wrote:
Robert Huff wrote:Dominic Fandrey writes:>> For portupgrade: >> # find /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8 -type f -exec pkg_info -W \{} \; | grep -Eo '[^ ]+$' | sort -u | xargs -o portupgrade -f>> >> Afterwards there shouldn't be anything left belonging to a package. > > Once I have done this - and it appears to run successfully - is> it safe to delete the 5.8.8 directories?You should first check what is left there. There might be awhatis file and a couple of empty directories. In that case it's safe to delete the stuff. If there's any more there, it depends on your own judgement, or ask someone about it.h...@jerusalem>> pwd /usr/local/lib/perl5/5.8.8 h...@jerusalem>> find . -type f ./perl/man/whatis ./mach/perllocal.pod ./man/whatisNo idea, but it's obviously something left behind by a port with an incomplete plist. I think it's safe to delete that.
.pod is 'plain ordinary documentation' or some such. perllocal.pod is generated when you install ports from CPAN rather than through the ports system -- it's officially a record of what add-on perl modules you've installed -- superfluous when you're using the ports as it already has mechanisms to track that sort of thing. It doesn't belong to any particular module and it's generally safe to delete.
Don't forget to check /usr/local/lib/perl5/site_perl/5.8.8 as well.
Heh. site_perl is a more important place to check than anywhere else. site_perl is where you are going to find any stray files that existas that's where all the add-on modules should be installed to. /usr/local/lib/perl5/5.8.8/ is for the stuff bundled with perl as
the standard modules. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW
signature.asc
Description: OpenPGP digital signature