Re: PKGBASE Removes FreeBSD Base System Feature

From: DutchDaemon - FreeBSD Forums Administrator <DutchDaemon_at_FreeBSD.org>
Date: Fri, 08 Aug 2025 15:06:56 UTC
On 8/8/2025 5:00 PM, Dimitry Andric wrote:
> I'm one of the people that regularly runs `pkg delete -af`, even with `-y` added. :)  That said, I only use this when I have completely rebuilt a ports collection with poudriere against a newer base jail, and then I'd like to start completely from scratch with freshly installed packages. This also clears out any unnecessary non-leaf packages there were pulled in by a previous package build.
>
> Obviously that is an outlier scenario!


No, it isn't, I do the same things with Poudriere.

And every so often, when there have been a lot of developments 
(additions/deletions of packages, try-outs, etc.) on a server, things 
can get a bit muddy.

Deinstalling all ports and installing only the ones you actually need 
from then on is a (/so far/) trusted solution for housekeeping.