Perl upgrade question
Dominic Fandrey
kamikaze at bsdforen.de
Wed Jan 14 12:36:01 PST 2009
Robert Huff wrote:
> The UPDATING entry says:
> ...
> 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?
>
> Respectfully,
>
>
> Robert Huff
For portmaster:
# 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 portmaster
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.
More information about the freebsd-ports
mailing list