Date: Thu, 30 Aug 2012 11:58:05 -0600 From: John Nielsen <lists@jnielsen.net> To: "ports@freebsd.org" <ports@freebsd.org>, "current@freebsd.org" <current@freebsd.org> Subject: Re: pkg (aka pkgng) 1.0 released Message-ID: <D0C864E9-76F3-4D48-873C-3E81BBA5E0FF@jnielsen.net> In-Reply-To: <CABzXLYMw4Ph2YvFFAiPORZpRKMrdJRTE%2BPAwQUvT5zn=ukCujw@mail.gmail.com> References: <20120830141939.GJ64447@ithaqua.etoilebsd.net> <D6DABAC3-7C3F-44E4-9DB4-C03824602FAC@jnielsen.net> <2DA948A5-540A-411F-9D11-120A27AF1EBB@jnielsen.net> <CABzXLYMw4Ph2YvFFAiPORZpRKMrdJRTE%2BPAwQUvT5zn=ukCujw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On Aug 30, 2012, at 10:06 AM, Olivier Smedts <olivier@gid0.org> wrote: > 2012/8/30 John Nielsen <lists@jnielsen.net>: >> 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. > > 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 <format:bdb_btree> in /var/db/pkg ... pkg: not found - 0 packages found (-163 +0) nothing to do] ---> Installing the new version via the port ... ===> Registering installation for pkg-1.0 Installing pkg-1.0... done ===> Cleaning for pkg-1.0 [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 163 packages found (-0 +163) ....................................................................................................100............................................................... done] JNhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D0C864E9-76F3-4D48-873C-3E81BBA5E0FF>
