From owner-freebsd-ports@FreeBSD.ORG Wed Jan 20 13:47:48 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28BE01065676 for ; Wed, 20 Jan 2010 13:47:48 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id DB0CD8FC14 for ; Wed, 20 Jan 2010 13:47:47 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NXauN-0007xw-5R for freebsd-ports@freebsd.org; Wed, 20 Jan 2010 14:47:43 +0100 Received: from 91.205.197.96 ([91.205.197.96]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jan 2010 14:47:43 +0100 Received: from jumper99 by 91.205.197.96 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jan 2010 14:47:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: "Helmut Schneider" Date: Wed, 20 Jan 2010 13:47:19 +0000 (UTC) Lines: 39 Message-ID: References: <4B57011E.6030005@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 91.205.197.96 User-Agent: XanaNews/1.19.1.194 X-Ref: news.gmane.org ~XNS:00000017 Sender: news Subject: Re: How to upgrade perl 5.8 to 5.10? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 13:47:48 -0000 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