Perl 5.8 -> 5.10 On Current Production System
Matthew Seaman
m.seaman at infracaninophile.co.uk
Thu Mar 4 17:13:42 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/03/2010 17:05:08, Tim Daneliuk wrote:
> On 3/4/2010 10:13 AM, Leslie Jensen wrote:
>>
>>
>> On 2010-03-04 17:06, Tim Daneliuk wrote:
>>> Is there a recommended procedure I can read somewhere on how to
>>> upgrade an
>>> entire production system from Perl 5.8 to 5.10 (or whatever is current)
>>> cleanly?
>>
>> /usr/ports/UPDATING ;-)
>
>
> Thanks to all for pointing to this.
>
> However, when I run:
>
> portupgrade -o lang/perl5.10 -f perl-5.8\.*
>
> I get this problem:
>
> ---> Upgrading 'perl-5.8.9_3' to 'perl-5.10.1' (lang/perl5.10)
> ---> Building '/usr/ports/lang/perl5.10'
> ===> Cleaning for perl-5.10.1
>
> ===> perl-5.10.1 conflicts with installed package(s):
> perl-5.8.9_3
>
> They install files into the same place.
> Please remove them first with pkg_delete(1).
> *** Error code 1
>
>
> I supposed I could do a forced manual removal of perl, but isn't that what the '-f'
> arg in the portupgrade is supposed to do?
>
You got bitten by an ill-considered change introduced after the UPDATING
instructions were written. To work around it, you need to set
DISABLE_CONFLICTS when rebuilding the port, eg like this:
# portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 -f perl-5.8\.*
Please feel free to complain volubly about this: it's hand-holding for
newbies which annoys and incoveniences the vastly larger number of
non-newbies (ie. anyone who has been using the ports for more than a few
weeks.)
Cheers,
Matthew
- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkuP6kAACgkQ8Mjk52CukIzOFwCcDWkYxJrX+nPwWpzhrWGBuLTO
MIIAn1wVGgCJc4nFdDdxmyXnuzbJ3kni
=LfKt
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list