From owner-freebsd-questions@FreeBSD.ORG Wed May 21 16:29:58 2014 Return-Path: Delivered-To: freebsd-questions@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 83DA5E0A for ; Wed, 21 May 2014 16:29:58 +0000 (UTC) Received: from fep12.mx.upcmail.net (fep12.mx.upcmail.net [62.179.121.32]) by mx1.freebsd.org (Postfix) with ESMTP id DDDFB26C8 for ; Wed, 21 May 2014 16:29:57 +0000 (UTC) Received: from edge03.upcmail.net ([192.168.13.238]) by viefep12-int.chello.at (InterMail vM.8.01.05.13 201-2260-151-135-20130320) with ESMTP id <20140521162950.QOVO62019.viefep12-int.chello.at@edge03.upcmail.net> for ; Wed, 21 May 2014 18:29:50 +0200 Received: from [192.168.1.160] ([86.101.30.243]) by edge03.upcmail.net with edge id 4gVp1o0235EjbRA03gVpfy; Wed, 21 May 2014 18:29:49 +0200 X-SourceIP: 86.101.30.243 Message-ID: <537CD47A.6050802@shopzeus.com> Date: Wed, 21 May 2014 18:29:46 +0200 From: =?ISO-8859-1?Q?Nagy_L=E1szl=F3_Zsolt?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg upgrade not working properly [was: pkgng messed up] References: <5374C16E.6000000@shopzeus.com> <44k39n2kg1.fsf@lowell-desk.lan> <5375B772.2050700@shopzeus.com> <537C4D66.6010306@shopzeus.com> <537C53E9.50905@FreeBSD.org> In-Reply-To: <537C53E9.50905@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2014 16:29:58 -0000 2014.05.21. 9:21, Matthew Seaman wrote: > On 21/05/2014 07:53, Nagy László Zsolt wrote: >> Running "pkg upgrade -y " on 9.2-RELEASE gives lots of warning >> messages, but does not try to upgrade anything. If I understand >> correctly, warnings are just warnings. They should not prevent the >> upgrade. But then why it is not doing anything? > It's doing all the planning stage of the upgrade, and then the package > fetching part -- at which point it has access to the details of all the > files that would be affected, and it can detect the conflicts between > the perl and postgresql packages you have installed and the default > versions the packages on pkg.freebsd.org are compiled against. > > At this point it decides operator intervention is required, and gives > up. If it gives up, then shouldn't it also give an error message? A warning is not an error. What am I supposed to do? I still don't know how to do the upgrade. > pkg-1.3 has now grown the ability to deinstall a conflicting > package in order to replace it with a different version, so it should be > able to proceed in more cases, but given you've installed > postgresql93-client I'm pretty sure you'ld be disappointed if that was > automatically downgraded to postgresql90. I definitely don't want to downgrade postgresql. Why would I have to? > > Essentially, if you want other than the default versions of perl, > postgresql etc. then you're going to have to compile any packages in > those dependency trees yourself. here.> I would be very happy to update every package to the current pkg.freebsd.org version. But how do I do that? Thanks