Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2012 17:47:50 +0200
From:      Tijl Coosemans <tijl@coosemans.org>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        Chris Rees <utisoft@gmail.com>, freebsd-current@freebsd.org, freebsd-ports <freebsd-ports@freebsd.org>, Doug Barton <dougb@freebsd.org>
Subject:   Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap
Message-ID:  <5040DCA6.5090108@coosemans.org>
In-Reply-To: <20120831122211.GS64447@ithaqua.etoilebsd.net>
References:  <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <503FF0EE.2020605@FreeBSD.org> <20120831095910.GQ64447@ithaqua.etoilebsd.net> <201208310810.50725.jhb@freebsd.org> <20120831122211.GS64447@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigFEFFF7B4BDF62E5864DF01A6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 31-08-2012 14:22, Baptiste Daroussin wrote:
> On Fri, Aug 31, 2012 at 08:10:50AM -0400, John Baldwin wrote:
>> On Friday, August 31, 2012 5:59:10 am Baptiste Daroussin wrote:
>>> On Thu, Aug 30, 2012 at 01:02:06PM -1000, Doug Barton wrote:
>>>> I agree with John on all counts here. Further, the idea of a
>>>> self-installing package, at least for the pkg stuff itself, addresse=
s
>>>> the issue that someone else brought up about how to handle installat=
ion
>>>> of pkg by the installer for a new system.
>>>
>>> I like the idea of also providing a self-installing package, and it s=
eems really
>>> easy to do, so I'll try to see what I can do in this area I'll wrote =
a PoC in 5
>>> minutes which looks pretty good, this could also be a very simple and=
 easy way
>>> to integrate into bsdinstaller.
>>>
>>> I'll do work in that direction.
>>>
>>> Still it doesn't solve the problem of boostrapping pkgng in a fresh n=
ew box,
>>> because the user may not know where to download the pkg-setup.sh.
>>
>> I do think that is something bsdinstall should be able to handle, and =
I would
>> certainly want bsdinstall to include a dialog that says "do you want t=
o install
>> the package manager?"
>=20
> Of course this is being worked on by dteske@ on his bsdconfig scripts, =
so yes in
> anycase the bsdinstaller will end up with a boostrap dialog to install =
pkgng.

=2E..using a mechanism that will be supported for the lifetime of the rel=
ease.

My concern is that the problem with the pkg tools was never that they wer=
e
tied to FreeBSD releases. If that were true then you cannot accept the
bootstrap solution above because it has exactly the same "problems".

The problem in my opinion was simply that the source code lived in src wh=
ere
ports developers didn't have good access to it. And the solution for that=
 is
to turn pkg development into a third party project and import that into b=
ase
from time to time. There can also be a port for it so people can use more=

recent versions if they want to. That's the situation for several third
party tools in base.

Given that the ports tree is currently supporting both the old and new pk=
g
tools I don't think it would be a problem for them to support older versi=
ons
of pkgng when the time comes, especially since the database used by pkgng=
 is
much more flexible and you can execute any sql query on it.

I also suspect that with pkgng's deployment features the temptation to
package and deploy base with it are going to be bigger. And if that happe=
ns
you want to ship a version of pkg on the release media and be able to do
package management from the fixit shell. It would also be nice if the
installation could fetch the latest security fixes for the release and
install the latest packages so you don't have to install a browser with
known vulnerabilities, etc.


--------------enigFEFFF7B4BDF62E5864DF01A6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iF4EAREIAAYFAlBA3K0ACgkQfoCS2CCgtiv4BQD+ImNOhiGe/G2hGyobhwlOVGc0
6HxdWfAj4qwYTdMP6O8A/Ryeq6mXopUjAe481l3joSmW+dAMWP/TE8V5kap15SSx
=0qe4
-----END PGP SIGNATURE-----

--------------enigFEFFF7B4BDF62E5864DF01A6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5040DCA6.5090108>