Date: Fri, 5 Mar 2010 12:00:03 +0100 From: "C. P. Ghost" <cpghost@cordula.ws> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: Perl 5.8 -> 5.10 On Current Production System Message-ID: <d74eb87c1003050300p7dfbcb36gaf365921ff32a9ad@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 4, 2010 at 6:13 PM, Matthew Seaman <m.seaman@infracaninophile.co.uk> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d74eb87c1003050300p7dfbcb36gaf365921ff32a9ad>