Helmut Schneider wrote:
===> perl-threaded-5.10.1 conflicts with installed package(s):
perl-threaded-5.8.9_3
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 questi...@... 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=yes -o lang/perl5.10 -f
perl-threaded-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
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
signature.asc
Description: OpenPGP digital signature
