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

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt1wkIACgkQ8Mjk52CukIyVvACfW6FiPdTyCtI6IxUMVOz6Amtd
jOsAn1PIYOiGWr8RXR9CZGMSjuPaXFWT
=jv7k
-----END PGP SIGNATURE-----

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