More grief with pkg 2.1.4

My hate/hate relationship with pkg continues. Any suggestions on how to reduce the package count below from 123 to about 3 would be appreciated:
Code:
[strand.184] #  freebsd-version -kru
13.5-RELEASE
13.5-RELEASE
13.5-RELEASE-p1

[strand.185] # pkg --version
2.1.4

[strand.186] # pkg delete cups-2.4.11_1
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 123 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
ImageMagick7: 7.1.1.45
accounts-qml-module: 0.7_5
bsdisks: 0.37
calibre: 8.4.0
chromium: 137.0.7151.55_1
cups: 2.4.11_1
cups-filters: 1.28.17_9
cups-pdf: 3.0.1_3
falkon: 25.04.2
firefox: 139.0.4,2
gcr: 4.4.0.1
gcr3: 3.41.2
gdmap: 0.8.1_3
ghostscript10: 10.05.1
gnustep-back: 0.31.0
gnustep-gui: 0.31.1_1
gsmartcontrol: 1.1.4_3
gspdf: 0.5_12
gtk2: 2.24.33_1
gtk3: 3.24.49
gtk4: 4.18.4
gtkmm30: 3.24.9
gutenprint: 5.3.4_1
gv: 3.7.4_8
hplip: 3.24.4_2
iridium-browser: 2025.03.134.2_2
kaccounts-integration: 25.04.2
kf5-kbookmarks: 5.116.0
kf5-kcmutils: 5.116.0
kf5-kdeclarative: 5.116.0
kf5-kiconthemes: 5.116.0
kf5-kio: 5.116.0_1
kf5-knotifications: 5.116.0
kf5-kparts: 5.116.0
kf5-kwallet: 5.116.0_3
kf5-kxmlgui: 5.116.0
kf5-purpose: 5.116.0_1
kf5-solid: 5.116.0
kf6-breeze-icons: 6.14.0
kf6-karchive: 6.14.0
kf6-kauth: 6.14.0
kf6-kbookmarks: 6.14.0
kf6-kcmutils: 6.14.0
kf6-kcodecs: 6.14.0
kf6-kcolorscheme: 6.14.0
kf6-kcompletion: 6.14.0
kf6-kconfig: 6.14.0
kf6-kconfigwidgets: 6.14.0
kf6-kcoreaddons: 6.14.0
kf6-kcrash: 6.14.0
kf6-kdbusaddons: 6.14.0
kf6-kdeclarative: 6.14.0
kf6-kded: 6.14.0
kf6-kdoctools: 6.14.0
kf6-kglobalaccel: 6.14.0
kf6-kguiaddons: 6.14.0
kf6-ki18n: 6.14.0
kf6-kiconthemes: 6.14.0
kf6-kio: 6.14.0
kf6-kirigami: 6.14.1
kf6-kitemviews: 6.14.0
kf6-kjobwidgets: 6.14.0
kf6-knotifications: 6.14.0
kf6-kservice: 6.14.0
kf6-kwallet: 6.14.1
kf6-kwidgetsaddons: 6.14.0
kf6-kwindowsystem: 6.14.0
kf6-kxmlgui: 6.14.0
kf6-prison: 6.14.0
kf6-purpose: 6.14.0
kf6-solid: 6.14.0
libaccounts-qt6: 1.17
libcanberra-gtk2: 0.30_11
libcanberra-gtk3: 0.30_11
libpeas: 2.0.7
libpeas1: 1.36.0
libreoffice: 25.2.3.2_1
luakit: 2.4.0,1
midori: 9.0_13
mtr: 0.95_2
otter-browser: 1.0.03_2
polkit-qt-1-qt6: 0.200.0
py311-qt5-pyqt: 5.15.11_1
py311-qt6-pyqt: 6.9.1
py311-qt6-webengine: 6.9.0_1
qca-qt6: 2.3.10
qcoro-qt6: 0.11.0
qscintilla2-qt5: 2.14.1,1
qt5-assistant: 5.15.16p3
qt5-designer: 5.15.16p3_1
qt5-printsupport: 5.15.16p130_1
qt5-webengine: 5.15.18p7_3
qt6-5compat: 6.9.1
qt6-base: 6.9.1
qt6-base_sqldriver-sqlite: 6.9.1
qt6-connectivity: 6.9.1
qt6-declarative: 6.9.1
qt6-imageformats: 6.9.1
qt6-multimedia: 6.9.1
qt6-pdf: 6.9.1
qt6-positioning: 6.9.1
qt6-quick3d: 6.9.1_1
qt6-quicktimeline: 6.9.1
qt6-remoteobjects: 6.9.1
qt6-scxml: 6.9.1
qt6-sensors: 6.9.1
qt6-serialport: 6.9.1
qt6-shadertools: 6.9.1
qt6-speech: 6.9.1
qt6-svg: 6.9.1
qt6-tools: 6.9.1
qt6-translations: 6.9.1
qt6-wayland: 6.9.1
qt6-webchannel: 6.9.1
qt6-webengine: 6.9.1
qt6-websockets: 6.9.1
signon-kwallet-extension: 25.04.2
signon-qt6: 8.61
texlive-base: 20250308_2
webkit2-gtk_40: 2.46.6
webkit2-gtk_41: 2.46.6
wireshark: 4.4.7
xcowsay: 1.6_4

Number of packages to be removed: 123

The operation will free 3 GiB.

Proceed with deinstalling packages? [y/N]: n
 
That's about right. A lot of packages depend on cups. Do pkg info -r cups to list all the packages that depend on cups, directly. Now, for each of those packages do pkg info -r PKG_NAME to see what depends on the next group in the tree. The list will be large.

For instance, qt6-base depends on cups -- the CUPS option is default, just look in the Makefile yourself. All other qt6 packages and apps depend on qt6-base. So they are also are removed. And so on. 123 is a small list. And, almost everything depends on cups.

It's not pkg 2.1.4. It's the package dependencies.

BTW, I just installed pkg 2.2.0. Works fine here.
 
Back
Top