From owner-freebsd-pkg@FreeBSD.ORG Mon Jul 28 13:50:36 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 63A84957 for ; Mon, 28 Jul 2014 13:50:36 +0000 (UTC) Received: from h.highsecure.ru (h.highsecure.ru [144.76.31.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 21D5E2B29 for ; Mon, 28 Jul 2014 13:50:35 +0000 (UTC) Received: from medway.cl.cam.ac.uk (medway.cl.cam.ac.uk [IPv6:2001:630:212:238:21c:c0ff:fe4b:2b85]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: vsevolod@highsecure.ru) by h.highsecure.ru (Postfix) with ESMTPSA id 10CFA300637; Mon, 28 Jul 2014 15:49:04 +0200 (CEST) Message-ID: <53D65528.7080108@FreeBSD.org> Date: Mon, 28 Jul 2014 14:50:32 +0100 From: Vsevolod Stakhov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Victor Sudakov , freebsd-pkg@freebsd.org Subject: Re: pkg 1.3.0 and an old version of perl: is "pkg set -o" still required? References: <20140728134652.GA45608@admin.sibptus.tomsk.ru> In-Reply-To: <20140728134652.GA45608@admin.sibptus.tomsk.ru> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2014 13:50:36 -0000 On 28/07/14 14:46, Victor Sudakov wrote: > Colleagues, > > There are pkg 1.3.0 and Perl version 5.10.1_3 installed. > When I run 'pkg upgrade -n', it suggests perl will be INSTALLED and > not UPGRADED: > > New packages to be INSTALLED: > indexinfo: 0.2 > libidn: 1.28_1 > libsunacl: 1.0 > tevent: 0.9.21 > popt: 1.16 > tdb: 1.2.13,1 > libspf2: 1.2.10_1 > perl5: 5.16.3_11 > python2: 2_2 > pkgconf: 0.9.6 > > Will it nevertheless upgrade perl from 5.10 to 5.16, or will it try to > install 5.16 alongside with 5.10 and probably mess everything up? > > Is "pkg set -o lang/perl5.10:lang/perl5.16" still required in pkg 1.3.0 ? > No. After fetching of new perl, pkg would be able to find a conflict between perl 5.10 and perl 5.16 and resolve it. Therefore, finally it will suggest to remove old perl and install new one. -- Vsevolod Stakhov