pkg (aka pkgng) 1.0 released

John Nielsen lists at jnielsen.net
Thu Aug 30 17:58:06 UTC 2012


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]


JN



More information about the freebsd-ports mailing list