On Aug 30, 2012, at 10:06 AM, Olivier Smedts <olivier_at_gid0.org> wrote: > 2012/8/30 John Nielsen <lists_at_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] JNReceived on Thu Aug 30 2012 - 15:58:06 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC