From owner-freebsd-current@FreeBSD.ORG Thu Aug 30 17:58:06 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 682EA106566B; Thu, 30 Aug 2012 17:58:06 +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 450F68FC15; Thu, 30 Aug 2012 17:58:05 +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 q7UHvweD046683 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 30 Aug 2012 13:57:59 -0400 (EDT) (envelope-from lists@jnielsen.net) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) From: John Nielsen In-Reply-To: Date: Thu, 30 Aug 2012 11:58:05 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20120830141939.GJ64447@ithaqua.etoilebsd.net> <2DA948A5-540A-411F-9D11-120A27AF1EBB@jnielsen.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-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2012 17:58:06 -0000 On Aug 30, 2012, at 10:06 AM, Olivier Smedts wrote: > 2012/8/30 John Nielsen : >> 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. >=20 > This is the first example where renaming pkg to pkg-bootstrap would > have been useful. I think this is a bug in portupgrade, but removing /usr/sbin/pkg does = have the side effect of allowing portupgrade to continue (with an empty = pkgdb briefly): Deleting pkg-1.0... done [Updating the pkgdb in /var/db/pkg ... pkg: not found - 0 packages found (-163 +0) nothing to do] ---> Installing the new version via the port ... =3D=3D=3D> Registering installation for pkg-1.0 Installing pkg-1.0... done =3D=3D=3D> Cleaning for pkg-1.0 [Updating the pkgdb in /var/db/pkg ... - 163 packages = found (-0 +163) = ..........................................................................= ..........................100.............................................= .................. done] JN