Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2010 21:58:05 +0000
From:      Peter Harrison <peter.piggybox@virgin.net>
To:        Matthew Seaman <m.seaman@black-earth.co.uk>
Cc:        Adam Vande More <amvandemore@gmail.com>, questions@freebsd.org, Peter Harrison <peter.piggybox@virgin.net>
Subject:   Re: Perl upgrade problem...
Message-ID:  <20100212215805.GD44419@laptop.piggybox>
In-Reply-To: <4B75C23A.4090105@black-earth.co.uk>
References:  <20100212204458.GA44419@laptop.piggybox> <6201873e1002121250y855fac7v7c53b970cd93463@mail.gmail.com> <4B75C23A.4090105@black-earth.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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
> large.
> 
> 	Cheers,
> 
> 	Matthew


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.


Peter.



> 
> -- 
> 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
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100212215805.GD44419>