From owner-freebsd-ports@FreeBSD.ORG Thu Aug 30 15:56:43 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF7C8106564A; Thu, 30 Aug 2012 15:56:43 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (secure.freebsdsolutions.net [69.55.234.48]) by mx1.freebsd.org (Postfix) with ESMTP id 769E98FC14; Thu, 30 Aug 2012 15:56:43 +0000 (UTC) Received: from [10.10.1.32] (office.betterlinux.com [199.58.199.60]) (authenticated bits=0) by ns1.jnielsen.net (8.14.4/8.14.4) with ESMTP id q7UFuam5047425 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 30 Aug 2012 11:56:36 -0400 (EDT) (envelope-from lists@jnielsen.net) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) From: John Nielsen In-Reply-To: Date: Thu, 30 Aug 2012 09:56:39 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <2DA948A5-540A-411F-9D11-120A27AF1EBB@jnielsen.net> References: <20120830141939.GJ64447@ithaqua.etoilebsd.net> To: ports@freebsd.org, current@freebsd.org X-Mailer: Apple Mail (2.1486) X-DCC-sonic.net-Metrics: ns1.jnielsen.net 1117; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: clamav-milter 0.97.5 at ns1.jnielsen.net X-Virus-Status: Clean Cc: Subject: Re: pkg (aka pkgng) 1.0 released X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2012 15:56:43 -0000 On Aug 30, 2012, at 9:43 AM, John Nielsen wrote: > Thanks to everyone involved. >=20 > I've been lightly testing pkg for a little while, but I still mainly = use ports. This announcement prompted me to switch from portupgrade to = portupgrade-devel (20120827 version) to see how it works with PKGNG. I = encountered a couple issues: >=20 > Portupgrade doesn't remove the pkgdb.db.lock reliably. > Portupgrade doesn't handle stale lock files (just waits indefinitely = for a nonexistent process to finish). A big problem when combined with = the above. > Running "portupgrade pkg" failed. It stalled trying to unregister the = package installation after the old pkg was removed. I didn't dig too = deeply but it seems like a dependency chicken-and-egg problem. I tried this again so I could provide some more details. This is what = shows in the terminal when it stalls: ---> Backing up the old version ---> Uninstalling the old version USING PKGNG ---> Deinstalling 'pkg-1.0' ---> Preserving /usr/local/lib/libpkg.so.0 as = /usr/local/lib/compat/pkg/libpkg.so.0 The following packages will be deinstalled: pkg-1.0 The deinstallation will free 7 MB Deleting pkg-1.0... done [Updating the pkgdb in /var/db/pkg ...=20 Running ps in another terminal shows "pkg query %n-%v". Since the actual = pkg is now gone, I suspect this is really /usr/sbin/pkg. I further = suspect that it's waiting for y/n input (whether to install the binary = pkg) on its nonexistent stdin somewhere. I killed it (pkg) and = portupgrade seemed to finish normally. > I was able to reinstall using /usr/sbin/pkg, and I also tested "make = && make deinstall && make reinstall" of ports-mgmt/pkg successfully, so = it may just be a portupgrade issue. >=20 > JN >=20 > On Aug 30, 2012, at 8:19 AM, Baptiste Daroussin = wrote: >=20 >> After 2 years of development (first commit "Tue Sep 7 2010"), more = than 2000 >> commits, 43 different contibutors. The pkgng team is proud to = release pkg-1.0! >>=20 >> [...] >>=20 >> Tools supporting natively pkgng >> - ports-mgmt/portupgrade-devel (soon the main portupgrade will = support) >> [...] >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" >=20