upgrading perl blues

Uwe Laverenz uwe at laverenz.de
Tue Feb 10 12:12:51 PST 2009

Frederique Rijsdijk schrieb:

> Now tons of things are broken (looking for stuff in */site_perl/5.8.8/* 
> but that's now */site_perl/5.8.9/*) and I have to recompile those that 
> failed earlier:
> cd /var/db/pkg ; grep -r 'site_perl/5\.8\.8' * | awk -F\/ '{print $1}' | 
> sort | grep -v pkgdb | xargs portupgrade -fbp
> And after a couple of these cycles everything is OK again..
> Am I doing something wrong or .. what?

Did you read /usr/ports/UPDATING?

     AFFECTS: users of lang/perl5.8
     AUTHOR: skv at FreeBSD.org

     lang/perl5.8 has been updated to 5.8.9. You should update everything
     depending on perl. The easiest way to do that is to use
     perl-after-upgrade script supplied with lang/perl5.8. Please see
     its manual page for details.

So the recommended way to upgrade perl (that worked for me) was:

- upgrade perl
- run "perl-after-upgrade" and see if any problems show up
- run "perl-after-upgrade -f" to move all site-packages to the new perl


More information about the freebsd-ports mailing list