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

看板FB_current作者時間13年前 (2012/08/24 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串16/74 (看更多)
On 8/24/2012 3:57 AM, Eitan Adler wrote: > On 23 August 2012 18:19, Steve Wills <swills@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. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1GDotodv (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1GDotodv (FB_current)