Date: Wed, 20 Jan 2010 13:11:58 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Helmut Schneider <jumper99@gmx.de> Cc: freebsd-ports@freebsd.org Subject: Re: How to upgrade perl 5.8 to 5.10? Message-ID: <4B57011E.6030005@infracaninophile.co.uk> In-Reply-To: <xn0gpdade8ge98a006@news.gmane.org> References: <xn0gpdade8ge98a006@news.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD40435142947A27394851588
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Helmut Schneider wrote:
> =3D=3D=3D> perl-threaded-5.10.1 conflicts with installed package(s):
> perl-threaded-5.8.9_3
>=20
> They install files into the same place.
> Please remove them first with pkg_delete(1).
> *** Error code 1
Yes. This has been the subject of some debate on the questions@...=20
list recently. The behaviour you're seeing is the result of a recent
commit affecting the conflicts handling code in bsd.port.mk. It now
checks for conflicts much earlier -- during the fetch and build phases of=
installing from a port. Consequently the common idiom of:
# portupgrade -o new-variant -f old-variant
will almost always result in an error as you've seen. Many people
(myself included) think this change is not a good idea.
To work around the problem, try:
# portupgrade -m DISABLE_CONFLICTS=3Dyes -o lang/perl5.10 -f perl-thre=
aded-5.8.\*
and then carry on the process as described in UPDATING by force-upgrading=
all perl modules and any applications that embed a perl interpreter
(mod_perl, net-snmpd, nagios, etc)
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
--------------enigD40435142947A27394851588
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAktXASUACgkQ8Mjk52CukIyYdgCgh8YIAcBTcNkn8RsaOKFrq6A2
kE4AmgMaDa4hqEpLdfWh4qEExbgwqlS6
=7E+o
-----END PGP SIGNATURE-----
--------------enigD40435142947A27394851588--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B57011E.6030005>
