Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2013 16:18:19 -0500
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        Rainer Duffner <rainer@ultra-secure.de>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: pkgng and updated packages
Message-ID:  <9FD77917-09D2-4061-A161-F04830F2BFDA@gromit.dlib.vt.edu>
In-Reply-To: <31F09127-6D81-46B2-890D-34E66054E5A6@ultra-secure.de>
References:  <20130128115120.36d50377@suse3> <20130128135220.GB43629@ithaqua.etoilebsd.net> <20130128182802.096a3a6c@suse3> <20130128173117.GA1298@glenbarber.us> <31F09127-6D81-46B2-890D-34E66054E5A6@ultra-secure.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 28, 2013, at 1:59 PM, Rainer Duffner <rainer@ultra-secure.de> =
wrote:

> =09
> Am 28.01.2013 um 18:31 schrieb Glen Barber <gjb@FreeBSD.org>:
>=20
>> On Mon, Jan 28, 2013 at 06:28:02PM +0100, Rainer Duffner wrote:
>>> I go from PERL 5.10 to PERL 5.16, for example and it complains that
>>> perl5.16 conflicts with perl5.10...
>>>=20
>>> This I needed, too:
>>>=20
>>> pkg set -o long/perl5.10:lang/perl5.16
>>> pkg remove perl    =20
>>> pkg set -o devel/pkg-config:devel/pkgconf
>>> pkg remove -f pkg-config
>>>=20
>>=20
>> Hmm, you should not have needed to remove perl or pkg-config.  They
>> should have been upgraded as any other package.
>>=20
>=20
>=20
> I tried it without and it said it conflicted. It wanted to install =
perl5.16, without doing anything to 5.10.


The lang/perl5.10 and lang/perl5.16 ports are separate ports that are =
marked in their respective Makefiles as conflicting (because they =
install files into common places).  Perl 5.16 is not an "upgrade" of =
Perl 5.10 in the standard ports sense.  That is why both the Makefile =
and pkgng will complain if you try and install both (e.g., installing =
Perl 5.16 when Perl 5.10 is still installed).

If you want to switch to lang/perl5.16 from lang/perl5.10 you could =
follow a procedure like that outlined in the 20120630 entry of =
/usr/ports/UPDATING.

Cheers,

Paul.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9FD77917-09D2-4061-A161-F04830F2BFDA>