Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

From: Julien Laffaye <jlaffaye_at_freebsd.org>
Date: Fri, 24 Aug 2012 09:21:47 +0200
On 8/24/2012 3:57 AM, Eitan Adler wrote:
> On 23 August 2012 18:19, Steve Wills <swills_at_freebsd.org> wrote:
>> Hi,
>>
>> It seems to me that renaming the pkg binary in /usr/sbin/pkg to /usr/sbin/pkg-bootstrap would make sense. From a user standpoint, it is confusing that running the command gets different results the second time it is run vs. the first time. I can imagine a user saying "I ran pkg, but it didn't do what they said it would.  Now I run it again, and it does do what it is supposed to." Also, it would enable setting up a pkg-bootstrap man page separate from the pkg man page, without confusion about which one you're looking at.
>>
>> So, opinions? There may still be time to fix it for 9.1 if we can decide quickly.
> no opinion on the name, but imho there should be *something* called
> "pkg" on a fresh system. Users will install a new system, follow some
> random how-to, and not realize they missed a step. If the default
> package errors with exit code 1 and says "run pkgbootstrap first" that
> is okay too.
>
>
Ideally, pkgng bootstrap process will be part of the bsdinstall steps 
(using the pkg package tarball on the installation media).
The bootstrap tool is in base (instead of only on the install media) 
essentially for installations without the installer (like creating 
jails). So its true that in these case you have to think to run the 
bootstrap command.
Received on Fri Aug 24 2012 - 05:21:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC