From owner-freebsd-questions@FreeBSD.ORG Fri Mar 5 11:00:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08BC9106567C for ; Fri, 5 Mar 2010 11:00:09 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-iw0-f188.google.com (mail-iw0-f188.google.com [209.85.223.188]) by mx1.freebsd.org (Postfix) with ESMTP id C30D18FC13 for ; Fri, 5 Mar 2010 11:00:09 +0000 (UTC) Received: by iwn26 with SMTP id 26so2578464iwn.9 for ; Fri, 05 Mar 2010 03:00:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.151.212 with SMTP id d20mr1462174ibw.53.1267786803264; Fri, 05 Mar 2010 03:00:03 -0800 (PST) X-Originating-IP: [85.116.204.54] In-Reply-To: <4B8FEA40.9040203@infracaninophile.co.uk> References: <4B8FDA6A.9090308@tundraware.com> <4B8FDC32.6090204@eskk.nu> <4B8FE844.6060804@tundraware.com> <4B8FEA40.9040203@infracaninophile.co.uk> Date: Fri, 5 Mar 2010 12:00:03 +0100 Message-ID: From: "C. P. Ghost" To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: Perl 5.8 -> 5.10 On Current Production System X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2010 11:00:10 -0000 On Thu, Mar 4, 2010 at 6:13 PM, Matthew Seaman wrote: >> However, when I run: >> >> =A0 portupgrade -o lang/perl5.10 -f perl-5.8\.* >> >> I get this problem: >> >> ---> =A0Upgrading 'perl-5.8.9_3' to 'perl-5.10.1' (lang/perl5.10) >> ---> =A0Building '/usr/ports/lang/perl5.10' >> =3D=3D=3D> =A0Cleaning for perl-5.10.1 >> >> =3D=3D=3D> =A0perl-5.10.1 conflicts with installed package(s): >> =A0 =A0 =A0 perl-5.8.9_3 >> >> =A0 =A0 =A0 They install files into the same place. >> =A0 =A0 =A0 Please remove them first with pkg_delete(1). >> *** Error code 1 >> >> >> I supposed I could do a forced manual removal of perl, but isn't that wh= at the '-f' >> arg in the portupgrade is supposed to do? > > You got bitten by an ill-considered change introduced after the UPDATING > instructions were written. =A0To work around it, you need to set > DISABLE_CONFLICTS when rebuilding the port, eg like this: > > =A0 # portupgrade -m DISABLE_CONFLICTS=3Dyes -o lang/perl5.10 -f perl-5.8= \.* THANK YOU! This is *exactly* what was holding me up from upgrading to Perl 5.10. > Please feel free to complain volubly about this: it's hand-holding for > newbies which annoys and incoveniences the vastly larger number of > non-newbies (ie. anyone who has been using the ports for more than a few > weeks.) > > =A0 =A0 =A0 =A0Cheers, > > =A0 =A0 =A0 =A0Matthew -cpghost. --=20 Cordula's Web. http://www.cordula.ws/