[Bug 295353] ports-mgmt/pkg: does not show a dependency for a package, but removing it wants to remove many others; autoremove trying to remove a manually installed package
Date: Sun, 17 May 2026 14:23:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295353
Mark Millard <marklmi26-fbsd@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marklmi26-fbsd@yahoo.com
--- Comment #3 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Martin Birgmeier from comment #2)
In my view having a command that is explicit about direct
dependencies and a separate one that covers shared library
dependencies is important. So, in my view:
%r[nov]
Expands to the list of reverse dependencies for the matched package,
where n stands for the package name, o for the package origin, and v
for the package version.
needs an update to be explicit about what bapt reported:
QUOTE
pkg query shows directement dependencies aka hardcoded dependencies, while pkg
also handle dependencies based on share libraries . . .
END QUOTE
Similarly pkg info -r needs to be more explicit about it being
based on both direct dependencies and shared library dependencies:
-r, --required-by
Display the list of packages which require pkg-name.
As stands, just reading the existing man pages, such distinctions
are far from clear.
--
You are receiving this mail because:
You are the assignee for the bug.