Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2012 11:49:52 +0200
From:      Julien Laffaye <jlaffaye@freebsd.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        ports@freebsd.org, Eitan Adler <lists@eitanadler.com>, Baptiste Daroussin <bapt@freebsd.org>, current@freebsd.org, Steve Wills <swills@freebsd.org>
Subject:   Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap
Message-ID:  <50389FC0.50102@freebsd.org>
In-Reply-To: <5037F8BB.9020501@FreeBSD.org>
References:  <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <CAF6rxg=TMbmwbhhmiGi_MfqjjE144pQAMNoR3ajTzR3n4Z5XLQ@mail.gmail.com> <785B5BAD-E015-4624-B3A1-D05E1BD97E51@freebsd.org> <CAF6rxgm3gYQOxd8q1Ys0nJjFxROErLEXfiy2AM4Mbx5jBHWBmA@mail.gmail.com> <5AC662AA-4874-4BC2-9862-65518B79B840@freebsd.org> <CAF6rxgmXHd3iAFU5P31-CgKt6Sz=Ou%2BtchQy=h5YshRD_j1fUw@mail.gmail.com> <5036EE2E.4040606@FreeBSD.org> <CAF6rxgnETUEy8ObG7dcS8O97bVJv=ZEXvTR%2ByFwXh57z7iA_Dg@mail.gmail.com> <5037F8BB.9020501@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/24/2012 11:57 PM, Doug Barton wrote:
> On 8/23/2012 8:03 PM, Eitan Adler wrote:
>> On 23 August 2012 22:59, Doug Barton <dougb@freebsd.org> wrote:
>>> I tend to agree with Steve here ... we can't be responsible for other
>>> people's poorly written docs.
>> This isn't about poorly written docs. This is the user expecting a
>> tool to exist, which doesn't. Take another example of a sysadmin which
>> rarely installs new systems, installs FreeBSD for the third time, and
>> then gets confused when "pkg install vim" fails.
> Aren't we going to install the pkg package on new systems when they are
> installed? Isn't that (shouldn't that be?) part of the project plan? It
> would be insane for us not to do that, at least for the releases where
> pkg is the default.

True. But when you create jails without the installer, you have to 
install pkgng by hand. Hence the /usr/sbin/pkg bootstrap.

>
>>> You bring up a valid point that we should
>>> keep in mind for our own however. The bootstrapping issue will be the
>>> smallest possible annoyance on a long road of the migration process.
>> The bootstrapping issue is a factor even after the migration :)
> I think that the point I'm trying to make is that it shouldn't be.
>
>> note that I'm not talking about the mechanism here, I'm trying to
>> avoid "pkg doesn't seem to be installed on my fresh system" becoming a
>> FAQ.
> The way that we avoid that problem is not to create it for ourselves in
> the first place. :)
>
> The role of pkg-bootstrap is for those users who have already-installed
> systems that need to do the conversion, or if somehow pkg becomes
> corrupted on the user's system and needs to be reinstalled. That's it.
>
> I like that you're thinking through the related issues, but in this
> particular case I think you're overthinking it.
>
> Doug
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50389FC0.50102>