From owner-freebsd-questions@FreeBSD.ORG Sun Oct 28 01:00:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24086250 for ; Sun, 28 Oct 2012 01:00:41 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id DA56E8FC08 for ; Sun, 28 Oct 2012 01:00:40 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9S10eCn008430 for ; Sun, 28 Oct 2012 01:00:40 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9S10eS0008429 for freebsd-questions@freebsd.org; Sun, 28 Oct 2012 01:00:40 GMT (envelope-from bdrewery) Received: (qmail 85692 invoked from network); 27 Oct 2012 20:00:38 -0500 Received: from unknown (HELO ?10.10.0.115?) (freebsd@shatow.net@10.10.0.115) by sweb.xzibition.com with ESMTPA; 27 Oct 2012 20:00:38 -0500 Message-ID: <508C839C.5090209@FreeBSD.org> Date: Sat, 27 Oct 2012 20:00:12 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Alexander Kapshuk Subject: Re: Portupgrade now supports pkgng [/usr/ports/UPDATING] References: <508C2668.4010006@gmail.com> In-Reply-To: <508C2668.4010006@gmail.com> X-Enigmail-Version: 1.4.5 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 01:00:41 -0000 On 10/27/2012 1:22 PM, Alexander Kapshuk wrote: > Quick question about portupgrade's support for pkgng. > > The /usr/ports/UPDATING says: > 20121015: > AFFECTS: users of ports-mgmt/portupgrade > AUTHOR: bdrewery@FreeBSD.org > > Portupgrade now supports pkgng. To use pkgng, enable it in your > make.conf, > and convert your databases. > > This is optional and not currently required. > > # make -C /usr/ports/ports-mgmt/pkg install clean > # echo 'WITH_PKGNG=yes' >> /etc/make.conf > # pkg2ng > # pkgdb -fu > > Having done all of the above, I ran portupgrade to update all the pkgs > that needed upgrading on my system, and got the message below: > root@box0:/root/tmp # portupgrade -varRP --batch -L '%s_%s' > USING PKGNG > Packages are not yet suported. Use pkg(8) directly. > > That doesn't sound like portupgrade supports pkgng, or did I misread the > message in the UPDATING file? PKGNG is a replacement for the pkg_* tools that record package data in /var/db/pkg. It also allows for binary package upgrades. If you are wanting to use pkgng for binary packages, there's no need to use portupgrade anymore. Just 'pkg install name', 'pkg upgrade', etc. > > box0=; uname -a > FreeBSD box0.my.domain 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct 2 > 17:11:45 UTC 2012 > root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > Thanks. > > Alexander Kapshuk. -- Regards, Bryan Drewery bdrewery@freenode/EFNet