Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2025 15:12:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 290344] Delete all installed packages on pkgbase system
Message-ID:  <bug-290344-32340-aYVa85K6tQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-290344-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290344-32340-aYVa85K6tQ>