From owner-freebsd-stable@FreeBSD.ORG Sat Sep 6 07:35:11 2014 Return-Path: Delivered-To: freebsd-stable@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 A437FEE for ; Sat, 6 Sep 2014 07:35:11 +0000 (UTC) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id 3E3F51FE1 for ; Sat, 6 Sep 2014 07:35:10 +0000 (UTC) Received: from ppp118-210-249-247.lns20.adl6.internode.on.net (HELO leader.local) ([118.210.249.247]) by ipmail07.adl2.internode.on.net with ESMTP; 06 Sep 2014 17:00:00 +0930 Message-ID: <540AB7EB.5050602@ShaneWare.Biz> Date: Sat, 06 Sep 2014 16:59:47 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Zoran Kolic , freebsd-stable@freebsd.org Subject: Re: update to pkg 1.3.7 References: <20140906050944.GA4460@knossos> In-Reply-To: <20140906050944.GA4460@knossos> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2014 07:35:11 -0000 On 06/09/2014 14:39, Zoran Kolic wrote: > After being away for a while, I found posts on new > pkg and problems with upgrading packages. > I assume the correct way nowadays would be to first > upgrade pkg to >=1.3.7. Then to issue pkg update -f. > Then to make "pkg install whatever", just as it should > be like before? > Sorry to look like falling from Mars, but I found a > lot of users posting problems. > Best regards > > Zoran There was an issue found which is resolved in 1.3.7 pkg check -Ba is also needed to fix the db from /usr/ports/UPDATING - Please note announcement for special instructions at: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000086.html - Users need to run 'pkg update -f' and 'pkg check -Ba' after upgrading to pkg-1.3.7 and before updating any other packages. This avoids needing to reinstall anything not needed due to changed shlibs. For binary package users: # pkg install ports-mgmt/pkg # pkg update -f # pkg check -Ba # pkg upgrade For port users: # make -C /usr/ports/ports-mgmt/pkg build deinstall install clean # pkg check -Ba - People building packages for serving to other systems need to rebuild all packages with 1.3.7. -- FreeBSD - the place to B...Software Developing Shane Ambler