From owner-freebsd-questions@FreeBSD.ORG Thu Mar 4 17:13:42 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 D8708106566B for ; Thu, 4 Mar 2010 17:13:42 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 49E148FC12 for ; Thu, 4 Mar 2010 17:13:42 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o24HDaf0067944 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 4 Mar 2010 17:13:37 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4B8FEA40.9040203@infracaninophile.co.uk> Date: Thu, 04 Mar 2010 17:13:36 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Tim Daneliuk References: <4B8FDA6A.9090308@tundraware.com> <4B8FDC32.6090204@eskk.nu> <4B8FE844.6060804@tundraware.com> In-Reply-To: <4B8FE844.6060804@tundraware.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL,URIBL_DBL autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk 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: Thu, 04 Mar 2010 17:13:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/03/2010 17:05:08, Tim Daneliuk wrote: > On 3/4/2010 10:13 AM, Leslie Jensen wrote: >> >> >> On 2010-03-04 17:06, Tim Daneliuk wrote: >>> Is there a recommended procedure I can read somewhere on how to >>> upgrade an >>> entire production system from Perl 5.8 to 5.10 (or whatever is current) >>> cleanly? >> >> /usr/ports/UPDATING ;-) > > > Thanks to all for pointing to this. > > However, when I run: > > portupgrade -o lang/perl5.10 -f perl-5.8\.* > > I get this problem: > > ---> Upgrading 'perl-5.8.9_3' to 'perl-5.10.1' (lang/perl5.10) > ---> Building '/usr/ports/lang/perl5.10' > ===> Cleaning for perl-5.10.1 > > ===> perl-5.10.1 conflicts with installed package(s): > perl-5.8.9_3 > > They install files into the same place. > 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 what 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. To work around it, you need to set DISABLE_CONFLICTS when rebuilding the port, eg like this: # portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 -f perl-5.8\.* 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.) 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuP6kAACgkQ8Mjk52CukIzOFwCcDWkYxJrX+nPwWpzhrWGBuLTO MIIAn1wVGgCJc4nFdDdxmyXnuzbJ3kni =LfKt -----END PGP SIGNATURE-----