[Bug 284307] ports-mgmt/pkg: missing required shared library
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 284307] ports-mgmt/pkg: missing required shared library"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Jan 2025 12:57:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284307 Bennett Wetters <freebsd-bugzilla@bendo.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-bugzilla@bendo.org --- Comment #1 from Bennett Wetters <freebsd-bugzilla@bendo.org> --- Hi, I have a similar issue relating to said ports: $ sudo pkg install emacs ... All repositories are up to date. Checking integrity... done (1 conflicting) - librsvg2-2.40.21_4 [FreeBSD] conflicts with librsvg2-rust-2.58.5_3 [installed] on /usr/local/bin/rsvg-convert Cannot solve problem using SAT solver, trying another plan Checking integrity... done (0 conflicting) The following 2 package(s) will be affected (of 0 checked): Installed packages to be REMOVED: ImageMagick7: 7.1.1.26_6 fontpreview: 1.0.6_5 Number of packages to be removed: 2 The operation will free 35 MiB. Proceed with this action? [Y/n]: Note how the transaction does NOT include installing emacs. I then tried this: $ sudo pkg install -f librsvg2-rust ... All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): Installed packages to be REINSTALLED: librsvg2-rust-2.58.5_3 [FreeBSD] Number of packages to be reinstalled: 1 Proceed with this action? [Y/n]: [1/1] Reinstalling librsvg2-rust-2.58.5_3... [1/1] Extracting librsvg2-rust-2.58.5_3: 100% ==> Running trigger: gdk-pixbuf-query-loaders.ucl Generating gdk-pixbuf modules cache Then the error changed: $ sudo pkg install emacs ... All repositories are up to date. Checking integrity... done (1 conflicting) - librsvg2-2.40.21_4 [FreeBSD] conflicts with librsvg2-rust-2.58.5_3 [installed] on /usr/local/bin/rsvg-convert Cannot solve problem using SAT solver, trying another plan Checking integrity... done (0 conflicting) The most recent versions of packages are already installed It didn't want to install anything but emacs was still missing from my system. I have a custom repo since I want different build flags for emacs. So then tried: $ sudo pkg install -r mycustomrepo emacs ... Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: emacs: 29.4_2,3 [pkgs.woozy.club] Number of packages to be installed: 1 The process will require 258 MiB more space. Proceed with this action? [Y/n]: [1/1] Installing emacs-29.4_2,3... [1/1] Extracting emacs-29.4_2,3: 100% ==> Running trigger: desktop-file-utils.ucl Building cache database of MIME types ==> Running trigger: gtk-update-icon-cache.ucl Generating GTK icon cache for /usr/local/share/icons/hicolor This gave me an emacs binary, but now pkg still reports the missing dependency: $ pkg check -da Checking all packages: 100% emacs is missing a required shared library: librsvg-2.so.2 But if I want to install that, pkg tries to remove all kinds of things I need and, curiously, emacs as well: $ sudo pkg install librsvg2 ... All repositories are up to date. Checking integrity... done (1 conflicting) - librsvg2-2.40.21_4 [FreeBSD] conflicts with librsvg2-rust-2.58.5_3 [installed] on /usr/local/bin/rsvg-convert Checking integrity... done (0 conflicting) The following 72 package(s) will be affected (of 0 checked): New packages to be INSTALLED: librsvg2: 2.40.21_4 [FreeBSD] Installed packages to be REMOVED: arandr: 0.1.11_1 bsdisks: 0.36 emacs: 29.4_2,3 firefox: 134.0.2,2 girara: 0.4.5 gtk3: 3.24.43 gtkmm30: 3.24.9 kf6-breeze-icons: 6.9.0_2 kf6-karchive: 6.9.0 kf6-kauth: 6.9.0 kf6-kbookmarks: 6.9.0 kf6-kcodecs: 6.9.0 kf6-kcolorscheme: 6.9.0 kf6-kcompletion: 6.9.0 kf6-kconfig: 6.9.0 kf6-kconfigwidgets: 6.9.0 kf6-kcoreaddons: 6.9.0 kf6-kcrash: 6.9.0 kf6-kdbusaddons: 6.9.0 kf6-kded: 6.9.0 kf6-kdoctools: 6.9.0 kf6-kguiaddons: 6.9.0 kf6-ki18n: 6.9.0 kf6-kiconthemes: 6.9.0 kf6-kimageformats: 6.9.0 kf6-kio: 6.9.0 kf6-kitemviews: 6.9.0 kf6-kjobwidgets: 6.9.0 kf6-knotifications: 6.9.0 kf6-kservice: 6.9.0 kf6-kwallet: 6.9.0 kf6-kwidgetsaddons: 6.9.0 kf6-kwindowsystem: 6.9.0 kf6-solid: 6.9.0 libcanberra-gtk3: 0.30_11 librsvg2-rust: 2.58.5_3 nextcloudclient: 3.15.3 p5-Gtk3: 0.034_2 pavucontrol: 5.0_5 pcsc-tools: 1.7.2 polkit-qt-1-qt6: 0.200.0 qca-qt6: 2.3.9 qt6-5compat: 6.8.1 qt6-base: 6.8.1 qt6-base_sqldriver-sqlite: 6.8.1 qt6-declarative: 6.8.1_1 qt6-imageformats: 6.8.1 qt6-location: 6.8.1 qt6-lottie: 6.8.1 qt6-multimedia: 6.8.1 qt6-positioning: 6.8.1 qt6-quick3d: 6.8.1 qt6-quicktimeline: 6.8.1 qt6-serialport: 6.8.1 qt6-shadertools: 6.8.1 qt6-svg: 6.8.1 qt6-tools: 6.8.1 qt6-wayland: 6.8.1 qt6-webchannel: 6.8.1 qt6-webengine: 6.8.1 qt6-websockets: 6.8.1 qtkeychain-qt6: 0.14.3 signal-desktop: 7.38.0 telegram-desktop: 5.10.3 winetricks: 20250102 wireshark: 4.4.3_1 zathura: 0.5.11 zathura-cb: 0.1.11 zathura-pdf-poppler: 0.3.3_2 zathura-ps: 0.2.8_2 zenity: 3.42.1_3 Number of packages to be removed: 71 Number of packages to be installed: 1 The operation will free 2 GiB. Proceed with this action? [Y/n]: So something here is thoroughly messed up with the dependencies :D -- You are receiving this mail because: You are the assignee for the bug.