How to upgrade perl 5.8 to 5.10?
Helmut Schneider
jumper99 at gmx.de
Wed Jan 20 13:47:48 UTC 2010
Matthew Seaman wrote:
> 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 questions at ...
> 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)
top-notch!
Thanks, Helmut
--
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn
More information about the freebsd-ports
mailing list