Dependency problem when rpm-ostree upgrade to 09182024 on Fedora 40

I am currently on 09172024, and tried to run rpm-ostree upgrade to upgrade to 09182024, below is the error I got:

error: Could not depsolve transaction; 2 problems detected:
 Problem 1: package libtool-2.4.7-10.fc40.x86_64 from fedora requires gcc(major) = 14, but none of the providers can be installed
  - package gcc-14.0.1-0.15.fc40.x86_64 from fedora requires cpp = 14.0.1-0.15.fc40, but none of the providers can be installed
  - package gcc-14.2.1-1.fc40.x86_64 from updates requires cpp = 14.2.1-1.fc40, but none of the providers can be installed
  - package gcc-14.2.1-1.fc40.x86_64 from updates-archive requires cpp = 14.2.1-1.fc40, but none of the providers can be installed
  - package gcc-14.1.1-1.fc40.x86_64 from updates-archive requires cpp = 14.1.1-1.fc40, but none of the providers can be installed
  - package gcc-14.1.1-4.fc40.x86_64 from updates-archive requires cpp = 14.1.1-4.fc40, but none of the providers can be installed
  - package gcc-14.1.1-5.fc40.x86_64 from updates-archive requires cpp = 14.1.1-5.fc40, but none of the providers can be installed
  - package gcc-14.1.1-6.fc40.x86_64 from updates-archive requires cpp = 14.1.1-6.fc40, but none of the providers can be installed
  - package gcc-14.1.1-7.fc40.x86_64 from updates-archive requires cpp = 14.1.1-7.fc40, but none of the providers can be installed
  - cannot install both cpp-14.0.1-0.15.fc40.x86_64 from fedora and cpp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both cpp-14.2.1-1.fc40.x86_64 from updates and cpp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both cpp-14.1.1-1.fc40.x86_64 from updates-archive and cpp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both cpp-14.1.1-4.fc40.x86_64 from updates-archive and cpp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both cpp-14.1.1-5.fc40.x86_64 from updates-archive and cpp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both cpp-14.1.1-6.fc40.x86_64 from updates-archive and cpp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both cpp-14.1.1-7.fc40.x86_64 from updates-archive and cpp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both cpp-14.2.1-1.fc40.x86_64 from updates-archive and cpp-14.2.1-3.fc40.x86_64 from @System
  - conflicting requests
 Problem 2: conflicting requests
  - package gcc-14.0.1-0.15.fc40.x86_64 from fedora requires libgomp = 14.0.1-0.15.fc40, but none of the providers can be installed
  - package gcc-14.2.1-1.fc40.x86_64 from updates requires libgomp = 14.2.1-1.fc40, but none of the providers can be installed
  - package gcc-14.2.1-1.fc40.x86_64 from updates-archive requires libgomp = 14.2.1-1.fc40, but none of the providers can be installed
  - libgomp-14.0.1-0.15.fc40.i686 from fedora  does not belong to a distupgrade repository
  - libgomp-14.2.1-1.fc40.i686 from updates  does not belong to a distupgrade repository
  - package gcc-14.1.1-1.fc40.x86_64 from updates-archive requires libgomp = 14.1.1-1.fc40, but none of the providers can be installed
  - package gcc-14.1.1-4.fc40.x86_64 from updates-archive requires libgomp = 14.1.1-4.fc40, but none of the providers can be installed
  - package gcc-14.1.1-5.fc40.x86_64 from updates-archive requires libgomp = 14.1.1-5.fc40, but none of the providers can be installed
  - package gcc-14.1.1-6.fc40.x86_64 from updates-archive requires libgomp = 14.1.1-6.fc40, but none of the providers can be installed
  - package gcc-14.1.1-7.fc40.x86_64 from updates-archive requires libgomp = 14.1.1-7.fc40, but none of the providers can be installed
  - cannot install both libgomp-14.0.1-0.15.fc40.x86_64 from fedora and libgomp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both libgomp-14.2.1-1.fc40.x86_64 from updates and libgomp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both libgomp-14.1.1-1.fc40.x86_64 from updates-archive and libgomp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both libgomp-14.1.1-4.fc40.x86_64 from updates-archive and libgomp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both libgomp-14.1.1-5.fc40.x86_64 from updates-archive and libgomp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both libgomp-14.1.1-6.fc40.x86_64 from updates-archive and libgomp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both libgomp-14.1.1-7.fc40.x86_64 from updates-archive and libgomp-14.2.1-3.fc40.x86_64 from @System
  - cannot install both libgomp-14.2.1-1.fc40.x86_64 from updates-archive and libgomp-14.2.1-3.fc40.x86_64 from @System

Could you please provide the output of rpm-ostree status command.

1 Like

Added atomic-desktops

Yeah its A: a layered random package or B: an rpmfusion package

1 Like

I can install libtool without any issue on the most recent image (40.20240918.0 (2024-09-18T19:13:10Z)). Can you try running

rpm-ostree cleanup -m 

and see if it fixes your issue?

â—Ź fedora:fedora/40/x86_64/silverblue
                  Version: 40.20240917.0 (2024-09-17T00:51:13Z)
               BaseCommit: fefc4b917590012af3ce9d1ad8a75a6f659b6e22edc6f923c5bfc617e2aafb1d
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
          LayeredPackages: autoconf binutils cmake containerd.io cool-retro-term distrobox docker-buildx-plugin docker-ce
                           docker-ce-cli docker-compose-plugin emacs gcc guake isync keyd konsole libtool make msmtp neofetch
                           notmuch pip qemu recoll sasl-xoauth2 sshfs terminator tmux vim zsh

I tried to run the command you suggested, and rerun rpm-ostree upgrade, it seems the dependency issue has been resolved since there is a new release 09192024. But there are new dependency issues now:

error: Could not depsolve transaction; 2 problems detected:
 Problem 1: package cool-retro-term-1.2.0-6.fc40.x86_64 from fedora requires libQt5QuickControls2.so.5()(64bit), but none of the providers can be installed
  - package qt5-qtquickcontrols2-5.15.13-1.fc40.x86_64 from fedora requires qt5-qtbase(x86-64) = 5.15.13, but none of the providers can be installed
  - package qt5-qtquickcontrols2-5.15.14-1.fc40.x86_64 from updates requires qt5-qtbase(x86-64) = 5.15.14, but none of the providers can be installed
  - package qt5-qtquickcontrols2-5.15.14-1.fc40.x86_64 from updates-archive requires qt5-qtbase(x86-64) = 5.15.14, but none of the providers can be installed
  - cannot install both qt5-qtbase-5.15.13-1.fc40.x86_64 from fedora and qt5-qtbase-5.15.15-1.fc40.x86_64 from @System
  - cannot install both qt5-qtbase-5.15.14-6.fc40.x86_64 from updates and qt5-qtbase-5.15.15-1.fc40.x86_64 from @System
  - cannot install both qt5-qtbase-5.15.13-2.fc40.x86_64 from updates-archive and qt5-qtbase-5.15.15-1.fc40.x86_64 from @System
  - cannot install both qt5-qtbase-5.15.14-1.fc40.x86_64 from updates-archive and qt5-qtbase-5.15.15-1.fc40.x86_64 from @System
  - cannot install both qt5-qtbase-5.15.14-6.fc40.x86_64 from updates-archive and qt5-qtbase-5.15.15-1.fc40.x86_64 from @System
  - conflicting requests
 Problem 2: conflicting requests
  - package recoll-1.37.4-1.fc40.x86_64 from fedora requires libQt5WebKit.so.5()(64bit), but none of the providers can be installed
  - package recoll-1.37.4-1.fc40.x86_64 from fedora requires libQt5WebKit.so.5(Qt_5)(64bit), but none of the providers can be installed
  - package recoll-1.37.4-1.fc40.x86_64 from fedora requires libQt5WebKitWidgets.so.5()(64bit), but none of the providers can be installed
  - package recoll-1.37.4-1.fc40.x86_64 from fedora requires libQt5WebKitWidgets.so.5(Qt_5)(64bit), but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.x86_64 from updates requires libQt5WebKit.so.5()(64bit), but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.x86_64 from updates requires libQt5WebKit.so.5(Qt_5)(64bit), but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.x86_64 from updates requires libQt5WebKitWidgets.so.5()(64bit), but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.x86_64 from updates requires libQt5WebKitWidgets.so.5(Qt_5)(64bit), but none of the providers can be installed
  - package recoll-1.37.5-1.fc40.x86_64 from updates-archive requires libQt5WebKit.so.5()(64bit), but none of the providers can be installed
  - package recoll-1.37.5-1.fc40.x86_64 from updates-archive requires libQt5WebKit.so.5(Qt_5)(64bit), but none of the providers can be installed
  - package recoll-1.37.5-1.fc40.x86_64 from updates-archive requires libQt5WebKitWidgets.so.5()(64bit), but none of the providers can be installed
  - package recoll-1.37.5-1.fc40.x86_64 from updates-archive requires libQt5WebKitWidgets.so.5(Qt_5)(64bit), but none of the providers can be installed
  - package recoll-1.39.1-2.fc40.x86_64 from updates-archive requires libQt5WebKit.so.5()(64bit), but none of the providers can be installed
  - package recoll-1.39.1-2.fc40.x86_64 from updates-archive requires libQt5WebKit.so.5(Qt_5)(64bit), but none of the providers can be installed
  - package recoll-1.39.1-2.fc40.x86_64 from updates-archive requires libQt5WebKitWidgets.so.5()(64bit), but none of the providers can be installed
  - package recoll-1.39.1-2.fc40.x86_64 from updates-archive requires libQt5WebKitWidgets.so.5(Qt_5)(64bit), but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.x86_64 from updates-archive requires libQt5WebKit.so.5()(64bit), but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.x86_64 from updates-archive requires libQt5WebKit.so.5(Qt_5)(64bit), but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.x86_64 from updates-archive requires libQt5WebKitWidgets.so.5()(64bit), but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.x86_64 from updates-archive requires libQt5WebKitWidgets.so.5(Qt_5)(64bit), but none of the providers can be installed
  - package recoll-1.37.4-1.fc40.i686 from fedora requires libQt5Core.so.5, but none of the providers can be installed
  - package recoll-1.37.4-1.fc40.i686 from fedora requires libQt5Core.so.5(Qt_5), but none of the providers can be installed
  - package recoll-1.37.4-1.fc40.i686 from fedora requires libQt5Core.so.5(Qt_5.15), but none of the providers can be installed
  - package recoll-1.37.4-1.fc40.i686 from fedora requires libQt5Network.so.5, but none of the providers can be installed
  - package recoll-1.37.4-1.fc40.i686 from fedora requires libQt5Network.so.5(Qt_5), but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.i686 from updates requires libQt5Core.so.5, but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.i686 from updates requires libQt5Core.so.5(Qt_5), but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.i686 from updates requires libQt5Core.so.5(Qt_5.15), but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.i686 from updates requires libQt5Network.so.5, but none of the providers can be installed
  - package recoll-1.40.0-1.fc40.i686 from updates requires libQt5Network.so.5(Qt_5), but none of the providers can be installed
  - package qt5-qtwebkit-5.212.0-0.85alpha4.fc40.x86_64 from fedora requires qt5-qtdeclarative(x86-64) = 5.15.13, but none of the providers can be installed
  - package qt5-qtwebkit-5.212.0-0.87alpha4.fc40.x86_64 from updates requires qt5-qtdeclarative(x86-64) = 5.15.14, but none of the providers can be installed
  - package qt5-qtwebkit-5.212.0-0.87alpha4.fc40.x86_64 from updates-archive requires qt5-qtdeclarative(x86-64) = 5.15.14, but none of the providers can be installed
  - package qt5-qtbase-5.15.13-1.fc40.i686 from fedora requires qt5-qtbase-common = 5.15.13-1.fc40, but none of the providers can be installed
  - package qt5-qtbase-5.15.14-6.fc40.i686 from updates requires qt5-qtbase-common = 5.15.14-6.fc40, but none of the providers can be installed
  - cannot install both qt5-qtdeclarative-5.15.13-1.fc40.x86_64 from fedora and qt5-qtdeclarative-5.15.15-1.fc40.x86_64 from @System
  - cannot install both qt5-qtdeclarative-5.15.14-2.fc40.x86_64 from updates and qt5-qtdeclarative-5.15.15-1.fc40.x86_64 from @System
  - cannot install both qt5-qtdeclarative-5.15.14-1.fc40.x86_64 from updates-archive and qt5-qtdeclarative-5.15.15-1.fc40.x86_64 from @System
  - cannot install both qt5-qtdeclarative-5.15.14-2.fc40.x86_64 from updates-archive and qt5-qtdeclarative-5.15.15-1.fc40.x86_64 from @System
  - cannot install both qt5-qtbase-common-5.15.13-1.fc40.noarch from fedora and qt5-qtbase-common-5.15.15-1.fc40.noarch from @System
  - cannot install both qt5-qtbase-common-5.15.14-6.fc40.noarch from updates and qt5-qtbase-common-5.15.15-1.fc40.noarch from @System
  - cannot install both qt5-qtbase-common-5.15.14-6.fc40.noarch from updates-archive and qt5-qtbase-common-5.15.15-1.fc40.noarch from @System

Looks like you should ask the cool-retro-term package maintainers to rebuild it for newer Qt5. Same thing with recoll.

Is it normal to have updates-archive repo enabled?

Yes, it’s enabled to keep older versions of packages around to reduce the amount of conflicts while layering. rpm-ostreee will always pick the newest version that matches all the constraints.

OK, it seems that the dependency issue has already been resolved.