[Bug 290344] Delete all installed packages on pkgbase system

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Oct 2025 15:12:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290344

--- Comment #3 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to gnath from comment #2)

The existing way to avoid pkg delete -a and the like
from including base packages is to have FreeBSD-base
have enable: no instead of enable: yes . This will
exclude FreeBSD-base from consideration by default.

This still allows using -r FreeBSD-base to explicitly
reference base packages for commands that allow such
-r REPONAME command line options.

Deleting base packages would require temporarily
reenabling FreeBSD-base, but at least such is likely
to be less common.

Also, "pkg fetch" may not allow the use of the
-r FreeBSD-base option when FreeBSD-base has
enable: no in use. Its man page is worded
differently for its -r REPONAME option description.


My original note was more about making sure folks
reading would know for sure that you were after
just port-package deletion, not "all installed
packages" being deleted as pkg defines things.
Some folks might not make the same implicit
definitions that you do and, instead, follow the
definitions that pkg actually uses.

So: Just a clarity suggestion.

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