[Bug 290344] pkg delete all installed packages on pkgbase system

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Oct 2025 21:58:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290344

--- Comment #5 from Graham Perrin <grahamperrin@gmail.com> ---
(In reply to Mark Millard from comment #3)

> The existing way to avoid pkg delete -a and the like
> from including base packages is to have FreeBSD-base
> have enable: no …

Please note, this is not effective. From
<https://lists.freebsd.org/archives/freebsd-pkgbase/2025-October/001069.html>: 

> releng/15.0, pkg 2.3.1_1, FreeBSD-base disabled

> … do not --yes for --all with FreeBSD-base _disabled_ 
> after installing any base package.

IIRC there's additional discussion, albeit not in the same thread. 

Without force: 

- deleting all packages may cause removal of the one and only kernel

… and so on.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.