From owner-freebsd-pkgbase@freebsd.org Thu Jan 30 16:28:20 2020 Return-Path: Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8562323DBE9 for ; Thu, 30 Jan 2020 16:28:20 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 487m4N31j6z4Jw1; Thu, 30 Jan 2020 16:28:20 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 498DA12D5A; Thu, 30 Jan 2020 16:28:20 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id 274D3C257A; Thu, 30 Jan 2020 17:28:19 +0100 (CET) Date: Thu, 30 Jan 2020 17:28:19 +0100 From: Baptiste Daroussin To: Erik Lauritsen Cc: freebsd-pkgbase@freebsd.org Subject: Re: Will pkg in base break the base? Message-ID: <20200130162819.xztch5vu6sdm6ieg@ivaldir.net> References: <12851601580347222@sas2-acef09fc61af.qloud-c.yandex.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4pxcz3ffit2drgji" Content-Disposition: inline In-Reply-To: <12851601580347222@sas2-acef09fc61af.qloud-c.yandex.net> X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2020 16:28:20 -0000 --4pxcz3ffit2drgji Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 30, 2020 at 01:20:22AM +0000, Erik Lauritsen wrote: > Hi, >=20 > I have posted this question on "questions", but realize that maybe this is > the right place :) >=20 > I have always really liked the FreeBSD separation between base and the > packages, and I love that you can do a "pkg delete -a" and not worry > about the kernel or the base system. >=20 > Occasionally on Linux, especially in the past, a failed update to some > packages renders the entire system unusable, and even Debian with its > "apt --fix-broken" and "apt install -f" sometimes just runs in an > unending loop unable to fix some dependency mess. >=20 > With pkg for base, would a "pkg delete -a" then also delete the kernel > and base etc.? No we have added a notion of "vital" packages which one are allowed to upgr= ade but not to remove, so pkg delete -a will leave a viable system after ward. Probably smaller than a current base system but still viable. and a users c= an by himself flag some packages as vital so if he wants the entire base to be vi= tal he can. Does that answer your question? Best regards, Bapt --4pxcz3ffit2drgji Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl4zBCAACgkQY4mL3PG3 PlqFzg//ZHZu6AxtRggRsKEX2NArSUQvgiU/1ovTYBl81DFzQHPy50ZTSmzWJUGK YEteFN10YJxTllO6UM4E9iKp0WYnzCcwDlRs+z/1wG0J9RfyiMF93kheCW3ce+pf BcrWmy+8KREOJQ2KTPt9Ta3500ORoRCvf62QH555KkBr7ZCv5aGf2epQk/VPKXex tNiA1B1OPndlwsMxZwPEYVEd5S82u0dh7YcxQZtlRztp953ckFg2w+m0vMHBlJlZ L6YCSIUeci5SHICMO6Ybd5GH6GthBTAIw0qezLVTu9sjYHX3ypV5dXvyXFdLJZwO YQiV8AnoCkt1Um+15TD1KDXlo/ZzDgl5Gu1dZp3KW6CztHdpCeY+Am9y7li3eqhu bo0o/JtewSuWmJQI+rnfr4rlepbuazgzO9l1okx5BsxHcOtHA0M5Pl4ZLdAD3abV o+wnwD4J1QHxT7QjhlByKVFNqjZ9EKMqpv9znrAMGTE1XnkgvW+DuQc20WrhE/0a UQE+aOByV7ARhWHeooklDsrtXjTF6BI/PmL7KwfCNkvj6ufu3bv/b/RB6OyV7g5D 4ItJoB4efqI4pyBiqE9uwl4FXyL7tY5nSg9QdMKjc2scvblfT/hSLRchmoB/m3lE h+UJHBaMp5leZj+aeR/pQBOM0taFwebQ5L64pw8pjFPghLTkCJ8= =isA8 -----END PGP SIGNATURE----- --4pxcz3ffit2drgji--