[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: Mon, 18 May 2026 00:52:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295353
--- Comment #16 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Martin Birgmeier from comment #15)
Thanks. That helps check my thinking was
on track. Isolating the more relevant
parts:
# pkg info -d libinput-1.31.1
libinput-1.31.1:
. . .
gtk3-3.24.52
. . .
gtk4-4.20.4 (libgtk-4.so.1)
. . .
# pkg info -r gtk3-3.24.52
gtk3-3.24.52:
libinput-1.31.1
. . .
libdecor-0.2.5 (libgtk-3.so.0)
wx30-gtk3-3.0.5.1_7 (libgtk-3.so.0)
gtkspell3-3.0.10_2 (libgtk-3.so.0)
osm-gps-map-1.1.0_2 (libgtk-3.so.0)
libcanberra-gtk3-0.30_11 (libgtk-3.so.0)
easytag-2.4.3_13 (libgtk-3.so.0)
qt6-base-6.10.2_1 (libgtk-3.so.0)
webkit2-gtk_40-2.46.6_7 (libgtk-3.so.0)
webkit2-gtk_41-2.46.6_7 (libgtk-3.so.0)
etherape-0.9.22 (libgtk-3.so.0)
wx32-gtk3-3.2.8.1_1 (libgtk-3.so.0)
plasma6-kde-gtk-config-6.6.5 (libgtk-3.so.0)
kicad-10.0.3,2 (libgtk-3.so.0)
firefox-151.0_1,2 (libgtk-3.so.0)
thunderbird-151.0_1 (libgtk-3.so.0)
So missing above vs. the intent was:
libinput-1.31.1 (libgtk-3.so.0)
But the direct/explicit dependency was in
in the Makefile.
# pkg info -r gtk4-4.20.4
gtk4-4.20.4:
. . .
libinput-1.31.1 (libgtk-4.so.1)
which should have been missing. (And there
was no direct/explicit makefile created
dependency of libinput on gtk4.)
pkg info is definitely the right tool for
the specific purpose.
"pkg info -r libinput-1.31.1" would have shown
more about what pkg delete gtk4-4.20.4 would
have deleted. (I'm not asking for that.)
Thanks again. Hopefully if I see such an issue
again in the future, I'll understand it faster
then.
--
You are receiving this mail because:
You are the assignee for the bug.