Perl upgrade problem...
peter.piggybox at virgin.net
Fri Feb 12 21:58:15 UTC 2010
Friday, 12 February 2010 at 21:03:54 +0000, Matthew Seaman said:
> On 12/02/2010 20:50, Adam Vande More wrote:
> > On Fri, Feb 12, 2010 at 2:44 PM, Peter Harrison
> > <peter.piggybox at virgin.net>wrote:
> >> Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING
> >> that upgrading to 5.10 is recommended.
> >> However, when I follow the instructions, I get the following error:
> >> laptop# portupgrade -o lang/perl5.10 -f perl-5.8.9_3
> > if you're referring to this:
> > 20090911:
> > AFFECTS: users of lang/perl5.10
> > AUTHOR: skv at FreeBSD.org
> > lang/perl5.10 has been updated to 5.10.1. You should update everything
> > that depends on perl. The easiest way to do that is to use
> > "perl-after-upgrade" script supplied with lang/perl5.10. Please see its
> > manual page for details.
> > If you want switch to lang/perl5.10 from lang/perl5.8 please follow
> > instructions in the entry 20090328 in this file.
> > Then you have misunderstood what it's saying. That only applies to folks
> > already running 5.10 and if you have no need for that then do nothing
> > further. If you really believe you need to run 5.10 then you should follow
> > the complete instructions from the entry.
> Err... he's following the right instructions. It's just that since
> those instructions were written there have been some badly thought-out
> changes in bsd.ports.mk. Any time you try and use portupgrade to
> replace one port with another now, you'll likely need to tell it to
> ignore CONFLICTS settings:
> # portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 \
> -f perl-5.8.9_3
> Then reinstall every port that depends on perl -- you can't use
> perl_after_upgrade for this update: the delta in version numbers is too
OK - that seems inconvenient, but I guess it makes sense.
I remember some stuff on the list about this earlier now that you mention it. Seems to have made a bit of a hassle of replacing one port with another.
Thanks for the advice.
> Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard, Flat 3
> Black Earth Consulting Ramsgate
> Kent, CT11 9PW
> Free and Open Source Solutions Tel: +44 (0)1843 580647
More information about the freebsd-questions