Perl upgrade question

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


Robert Huff wrote:
> Dominic Fandrey writes:
> 
>>  > 	Having gotten that far, I've got 40+ files - or at
>>  > least directories - in /usr/local/lib/perl5/site_perl/5.8.8.  Most
>>  > have the ".pm" extension, with a few ".so", ".bs", and ".packlist"
>>  > thrown in.  No ".ph"
>>  > 	Am I in trouble?  And if so, what next?
>>  
> 
>>  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?
> 
> 
> 				Robert Huff

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.



More information about the freebsd-ports mailing list