[Bug 291611] ports-mgmt/pkg List locked package not working for vital metapackages

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 Dec 2025 17:15:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291611

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

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

If I understand the context correctly, the problem is
some output text is misleading:

1 packages requested for removal: 1 locked, 0 missing

That package was vital, not locked. Being vital is
sufficient to have the status "may not be removed".

The message could be changed to something like:

1 packages requested for removal: 1 locked/vital, 0 missing

That would explicitly match the "or" in the text:

The following package(s) are locked or vital . . .

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