Re: PKGBASE Removes FreeBSD Base System Feature

From: Ceri Davies <ceri_at_submonkey.net>
Date: Wed, 06 Aug 2025 16:45:16 UTC

> On 30 Jul 2025, at 01:28, vermaden <vermaden@interia.pl> wrote:
> 
> Hi,
> 
> after short discussion here:
> - https://github.com/freebsd/pkg/issues/2485
> 
> I got REALLY concerned.
> 
> One of THE features and selling points of a FreeBSD UNIX system is the 'untouchable' Base System.
> 
> Without PKGBASE all the features are preserved.
> 
> But when You convert to PKGBASE its ... GONE!
> 
> Consider this command:
> 
> # pkg delete -af
> 
> What it does?
> 
> It removes all third party packages on 'classic' FreeBSD system without touching the FreeBSD Base System.
> 
> What the same "pkg delete -af" command does on a PKGBASE FreeBSD system?
> 
> It kills/destroys almost all of the FreeBSD Base System and leaves only two PKGBASE packages called:
> 
> - FreeBSD-clibs
> - FreeBSD-runtime
> 
> All the rest of Base System is GONE. Destroyed.
> 
> You do not even have vi(1) editor ad /rescue is separate not protected FreeBSD-rescue package and its also removed.
> 
> WTF?!
> 
> POLA is the principle that made FreeBSD such predictable system. Where is the POLA now?
> Why the same *pkg delete -af* command on 'classic' FreeBSD system without PKGBASE only removes all third party packages and the same *pkg delete -af* literally destroys most of the FreeBSD PKGBASE Base System?

Because that’s what you asked for.  Why would the command do anything other than that?  If it did not, what command should and would you oppose it existing?

Ceri