Re: FYI: pkg clean with FreeBSD-base disabled cleans out even installed FreeBSD-* base pacakges from the cache

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 23 Oct 2025 07:05:39 UTC
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.

Best regards,
Bapt