Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2016 19:40:20 +0000
From:      Glen Barber <gjb@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        Matthew Seaman <matthew@FreeBSD.org>, freebsd-current@freebsd.org
Subject:   Re: [CFT] packaging the base system with pkg(8)
Message-ID:  <20160306194020.GA77554@FreeBSD.org>
In-Reply-To: <20160306113957.GJ31877@ivaldir.etoilebsd.net>
References:  <20160302235429.GD75641@FreeBSD.org> <56D81174.3070000@freebsd.org> <20160306113957.GJ31877@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Mar 06, 2016 at 12:39:57PM +0100, Baptiste Daroussin wrote:
> On Thu, Mar 03, 2016 at 10:27:00AM +0000, Matthew Seaman wrote:
> > On 03/02/16 23:54, Glen Barber wrote:
> > > Also note (as repeated below), running 'pkg delete -a' will implicitly
> > > remove base system packages after they are installed.
> >=20
> > This has the potential for many feet to be shot, given that up to now,
> > 'pkg delete -a' would always leave you with a viable system.
> >=20
> > We already make an exception for pkg itself -- you need 'pkg delete -fa'
> > to actually remove pkg(8) as well.  (Note to self: this needs to be
> > documented in the pkg-delete(8) man page.)
> >=20
> > We should have similar exceptions for the essential bits of the base
> > system -- at minimum everything you need to boot the system up and
> > install stuff from a package repository.
> >=20
> > We should also have a command line that will remove all ported software
> > but leave the base intact.   Maybe by adding '-r reponame' functionality
> > to 'pkg delete'?
> >=20
>=20
> It is planned to have a "precious" flag for packages which will prevent p=
kg
> delete -a from dropping them
>=20

Note, there are valid use cases for deleting all packages, even those
marked as 'precious'.  For example, a test chroot(8) or jail(8).  So the
'precious' flag would also need an override.

Glen


--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJW3IefAAoJEAMUWKVHj+KTBfQQAIjlfawrnU9AneKARCuyfSk5
uhBsk2YmGz6q00FSp9ZXAxv8dPu9mFELLv3AQ1QLqtzNSab2CFQDJINfLnLZsuT5
P8lA8404t7Nm871CRTaB+f09ivkPmvRvF7rcf1ioCJfufHYwxvvwxdubJ9eGTDMv
0Llg2DY9cli7sWB31+Kx+8DHNVnoklRpXJFvkMQneI0GLr4bv8fxvKB6HZGFRxmw
pS7myU7SiqDel/6elW57424xRVyGIA4M4PttpeYXEfuygLdvxxAgJUyCsc32ePsr
Nq0OHnF2VUd6YfqQoHWSo/RTlVU/KhCQoM5w+r8cq5XCldcJf26KX9Ck642PpS15
BO7vJzSNRCdV9lBlxpvR1t7KK8l/1Dl1znTTv/JF903AY1m40aok7ib8XvD1avGZ
7/G0yw+CxpYGpzaQ3ozp8Aj3SJMlux4/cyzfHzNqhVmLXixcAYUyz9MEOdfLQymE
ixwXP07+CINOAVssEq9YSNO5xn7zBcD7hhEbyLmEk0JFPuqC+oJa7GVTJ5J+fDuw
XvIx0u7uqJ+Pdt4nKugyw6sSCk5kx7WMeVpiKdO4C907WTPoDFWNsAr5Vntov3v1
q26TI71Q2atS7BNNtZOT/mJaQDIdP3TeVjLEgzcoLQhxZD3gp+AMLSYxLIuuN4yB
54NahMgoq0RjcpZ2JPPy
=J/pS
-----END PGP SIGNATURE-----

--nFreZHaLTZJo0R7j--



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