Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2010 13:47:19 +0000 (UTC)
From:      "Helmut Schneider" <jumper99@gmx.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: How to upgrade perl 5.8 to 5.10?
Message-ID:  <xn0gpdbs88iaowx008@news.gmane.org>
References:  <xn0gpdade8ge98a006@news.gmane.org> <4B57011E.6030005@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@... 
> 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




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