Perl upgrade problem...

Matthew Seaman m.seaman at black-earth.co.uk
Fri Feb 12 21:04:09 UTC 2010


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

	Cheers,

	Matthew

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100212/4a46f2e2/signature.pgp


More information about the freebsd-questions mailing list