Date: Thu, 23 Oct 2025 06:11:22 -0700 From: Mark Millard <marklmi@yahoo.com> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: FreeBSD-pkgbase@freebsd.org, Colin Percival <cperciva@tarsnap.com>, Lexi Winter <ivy@freebsd.org>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@freebsd.org> Subject: Re: FYI: pkg clean with FreeBSD-base disabled cleans out even installed FreeBSD-* base pacakges from the cache Message-ID: <3041A82A-A375-47E4-9C81-85B76DB61DAE@yahoo.com> In-Reply-To: <r42cfkkvz3v7i34qjd2k6nstrsqxjgk57g7edkst3fox7hpgw3@iflppibwiblz> References: <D726FAC8-D07E-41AE-98D1-4DA35AA945EE.ref@yahoo.com> <D726FAC8-D07E-41AE-98D1-4DA35AA945EE@yahoo.com> <r42cfkkvz3v7i34qjd2k6nstrsqxjgk57g7edkst3fox7hpgw3@iflppibwiblz>
index | next in thread | previous in thread | raw e-mail
On Oct 23, 2025, at 00:05, Baptiste Daroussin <bapt@FreeBSD.org> wrote: > On Wed 22 Oct 16:22, Mark Millard wrote: >> In my exploration of use of having FreeBSD-bsae disabled, I've >> observed "pkg clean" to remove all the base packages >> (FreeBSD-*.pkg) from the cache, including the installed ones. >> >> So either it accumulates or is empty. >> >> With FreeBSD-base enabled, the installed ones stick around. > > Yes this is by design we only keep the packages of the enabled repositories. I'll remind that Colin has reported on planning on FreeBSD-base being disabled by default to avoid self destructing deletion activities. See: https://lists.freebsd.org/archives/freebsd-stable/2025-October/003435.html QUOTE I'm planning on putting a "FreeBSD-base" repository configuration into /etc/pkg/FreeBSD.conf in 15. It will be disabled by default, in order to avoid "pkg delete -af" problems, but "pkg upgrade -r FreeBSD-base" should work out of the box. END QUOTE Various pkg operations have potentially unintended/surprising behavior for what would be the default configuration. That may mean needing having more explicit documentation setting expectations for the default way things operate. === Mark Millard marklmi at yahoo.comhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3041A82A-A375-47E4-9C81-85B76DB61DAE>
