Perl upgrade question

Dominic Fandrey kamikaze at bsdforen.de
Thu Jan 15 13:57:10 PST 2009


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 a
>>  whatis 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.
> 
> huff at jerusalem>> pwd
> /usr/local/lib/perl5/5.8.8
> huff at jerusalem>> find . -type f
> ./perl/man/whatis
> ./mach/perllocal.pod
> ./man/whatis

No idea, but it's obviously something left behind by a port with an
incomplete plist. I think it's safe to delete that.

Don't forget to check /usr/local/lib/perl5/site_perl/5.8.8 as well.


More information about the freebsd-ports mailing list