Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2026 14:23:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [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
Message-ID:  <bug-295353-32340-ydqazeIdu0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295353-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=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.

home | help

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