From owner-freebsd-pkgbase@freebsd.org Thu Jan 30 01:20:27 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 663B91FF2F6 for ; Thu, 30 Jan 2020 01:20:27 +0000 (UTC) (envelope-from eriklauritsen@yandex.com) Received: from forward102j.mail.yandex.net (forward102j.mail.yandex.net [5.45.198.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 487Mwn5xYzz4SXZ for ; Thu, 30 Jan 2020 01:20:25 +0000 (UTC) (envelope-from eriklauritsen@yandex.com) Received: from mxback7g.mail.yandex.net (mxback7g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:168]) by forward102j.mail.yandex.net (Yandex) with ESMTP id CF3F3F203EB for ; Thu, 30 Jan 2020 04:20:22 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback7g.mail.yandex.net (mxback/Yandex) with ESMTP id ROPuo67nNw-KMHOxWKm; Thu, 30 Jan 2020 04:20:22 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1580347222; bh=oN8Bq9qy2EntTMQ+WQeNmU8IFBagz2M4tOR0aReKWMc=; h=Message-Id:Date:Subject:To:From; b=qiHy+/8+UupVt6MEPtGDU54eLCq5c3Wrft5Xlk2++LYP/tebqFMXGUcLlMjhoB1UN A75+OLr2IuECVCRcIjcxfVvH6fuTZGg4eoSl2nMrlWLWqT2QKykktDP+COMSABozVU E3eay5Cr9mEwayqlA3QsoMNNNytxmedzjit9JBLk= Received: by sas2-acef09fc61af.qloud-c.yandex.net with HTTP; Thu, 30 Jan 2020 04:20:22 +0300 From: Erik Lauritsen To: freebsd-pkgbase@freebsd.org Subject: Will pkg in base break the base? MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 30 Jan 2020 01:20:22 +0000 Message-Id: <12851601580347222@sas2-acef09fc61af.qloud-c.yandex.net> Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Rspamd-Queue-Id: 487Mwn5xYzz4SXZ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.com header.s=mail header.b=qiHy+/8+; dmarc=pass (policy=none) header.from=yandex.com; spf=pass (mx1.freebsd.org: domain of eriklauritsen@yandex.com designates 5.45.198.243 as permitted sender) smtp.mailfrom=eriklauritsen@yandex.com X-Spamd-Result: default: False [-2.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yandex.com:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:5.45.192.0/19]; FREEMAIL_FROM(0.00)[yandex.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[yandex.com:+]; DMARC_POLICY_ALLOW(-0.50)[yandex.com,none]; IP_SCORE(0.00)[ip: (-9.87), ipnet: 5.45.192.0/18(-4.85), asn: 13238(-3.81), country: RU(0.01)]; RCVD_IN_DNSWL_LOW(-0.10)[243.198.45.5.list.dnswl.org : 127.0.5.1]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[yandex.com]; ASN(0.00)[asn:13238, ipnet:5.45.192.0/18, country:RU]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[] 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 01:20:27 -0000 Hi, I have posted this question on "questions", but realize that maybe this is the right place :) 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. 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. With pkg for base, would a "pkg delete -a" then also delete the kernel and base etc.? I have searched the archives, but I couldn't find this specifically discussed, please forgive me if I have overlooked something. Kind regards, Erik 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-- From owner-freebsd-pkgbase@freebsd.org Thu Jan 30 21:12:04 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 918751FF326 for ; Thu, 30 Jan 2020 21:12:04 +0000 (UTC) (envelope-from eriklauritsen@yandex.com) Received: from forward501j.mail.yandex.net (forward501j.mail.yandex.net [5.45.198.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 487tMl1Z1xz3BpR for ; Thu, 30 Jan 2020 21:12:02 +0000 (UTC) (envelope-from eriklauritsen@yandex.com) Received: from mxback20j.mail.yandex.net (mxback20j.mail.yandex.net [IPv6:2a02:6b8:0:1619::114]) by forward501j.mail.yandex.net (Yandex) with ESMTP id 1C06C3380273 for ; Fri, 31 Jan 2020 00:12:00 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback20j.mail.yandex.net (mxback/Yandex) with ESMTP id bylHZyXEoz-BxJKEWRs; Fri, 31 Jan 2020 00:11:59 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1580418719; bh=tLUcCQfzivQKqKjdNm0x2H1a1LiaUcq2gAga8fEtWJw=; h=References:Date:Message-Id:Subject:In-Reply-To:To:From; b=hwLCxVuKBYVyMegg9kpfDrlPDM2roTZ1we/nUqJIM9d5vLUbqDZvrftvztV7ykVQV sHHG7sVOtYgpml5+JnaR8fI8qstD0jWIy+m8sqNn+GwBHz6QoDg4BjXdqZ9CkpayCu OdSZbaKIun49GJA1+OlqgKhnSX11ky3TOMl1CnNE= Received: by myt2-dd3598211d70.qloud-c.yandex.net with HTTP; Fri, 31 Jan 2020 00:11:59 +0300 From: Erik Lauritsen To: freebsd-pkgbase@freebsd.org In-Reply-To: <20200130162819.xztch5vu6sdm6ieg@ivaldir.net> References: <12851601580347222@sas2-acef09fc61af.qloud-c.yandex.net> <20200130162819.xztch5vu6sdm6ieg@ivaldir.net> Subject: Re: Will pkg in base break the base? MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 30 Jan 2020 21:11:59 +0000 Message-Id: <15265381580418719@myt2-dd3598211d70.qloud-c.yandex.net> Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Rspamd-Queue-Id: 487tMl1Z1xz3BpR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.com header.s=mail header.b=hwLCxVuK; dmarc=pass (policy=none) header.from=yandex.com; spf=pass (mx1.freebsd.org: domain of eriklauritsen@yandex.com designates 5.45.198.251 as permitted sender) smtp.mailfrom=eriklauritsen@yandex.com X-Spamd-Result: default: False [-2.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yandex.com:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:5.45.192.0/19]; FREEMAIL_FROM(0.00)[yandex.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[yandex.com:+]; DMARC_POLICY_ALLOW(-0.50)[yandex.com,none]; IP_SCORE(0.00)[ipnet: 5.45.192.0/18(-4.84), asn: 13238(-3.81), country: RU(0.01)]; RCVD_IN_DNSWL_LOW(-0.10)[251.198.45.5.list.dnswl.org : 127.0.5.1]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[yandex.com]; ASN(0.00)[asn:13238, ipnet:5.45.192.0/18, country:RU]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[] 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 21:12:04 -0000 > On Thu, Jan 30, 2020 at 01:20:22AM +0000, Erik Lauritsen wrote: > >> Hi, >> >> I have posted this question on "questions", but realize that maybe this is >> the right place :) >> >> 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. >> >> 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. >> >> 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 upgrade > 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 can by > himself flag some packages as vital so if he wants the entire base to be vital > he can. > > Does that answer your question? > > Best regards, > Bapt Yes. Thank you very much! Kind regards, Erik