Dependency conflict after solving the update problem

After I used the official script to fix the update problem that was happening with the ublue images, the problem below appeared:

note: automatic updates (stage) are enabled
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/sericea-nvidia:latest
Checking out tree 468baea...done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:ublue-os:akmods updates fedora rpmfusion-free-updates-testing rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates-testing rpmfusion-nonfree-updates rpmfusion-nonfree google-chrome rpmfusion-nonfree-nvidia-driver rpmfusion-nonfree-steam phracek-PyCharm
Importing rpm-md...done
rpm-md repo 'copr:copr.fedorainfracloud.org:ublue-os:akmods' (cached); generated: 2024-06-10T03:51:26Z solvables: 171
rpm-md repo 'updates' (cached); generated: 2024-07-06T07:03:40Z solvables: 20818
rpm-md repo 'fedora' (cached); generated: 2024-04-14T18:51:11Z solvables: 74881
rpm-md repo 'rpmfusion-free-updates-testing' (cached); generated: 2024-06-28T07:17:55Z solvables: 4
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2024-07-01T17:13:19Z solvables: 130
rpm-md repo 'rpmfusion-free' (cached); generated: 2024-04-20T12:11:51Z solvables: 422
rpm-md repo 'rpmfusion-nonfree-updates-testing' (cached); generated: 2024-07-02T08:11:45Z solvables: 21
rpm-md repo 'rpmfusion-nonfree-updates' (cached); generated: 2024-06-28T07:37:12Z solvables: 64
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2024-04-20T12:18:23Z solvables: 194
rpm-md repo 'google-chrome' (cached); generated: 2024-06-27T18:50:17Z solvables: 3
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2024-06-28T07:55:35Z solvables: 29
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2024-06-07T11:40:38Z solvables: 2
rpm-md repo 'phracek-PyCharm' (cached); generated: 2024-03-18T11:54:41Z solvables: 14
Resolving dependencies...done
error: Could not depsolve transaction; 3 problems detected:
 Problem 1: conflicting requests
  - package glibc-devel-2.39-17.fc40.i686 from updates requires glibc = 2.39-17.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-17.fc40.x86_64 from updates requires glibc = 2.39-17.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.i686 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.x86_64 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - cannot install both glibc-2.39-17.fc40.i686 from updates and glibc-2.39-15.fc40.i686 from @System
  - cannot install both glibc-2.39-6.fc40.i686 from fedora and glibc-2.39-15.fc40.i686 from @System
  - cannot install both glibc-2.39-17.fc40.x86_64 from updates and glibc-2.39-15.fc40.x86_64 from @System
  - cannot install both glibc-2.39-6.fc40.x86_64 from fedora and glibc-2.39-15.fc40.x86_64 from @System
 Problem 2: package gcc-14.1.1-7.fc40.x86_64 from updates requires glibc-devel >= 2.2.90-12, but none of the providers can be installed
  - package glibc-devel-2.39-17.fc40.i686 from updates requires glibc = 2.39-17.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-17.fc40.x86_64 from updates requires glibc = 2.39-17.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.i686 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.x86_64 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - conflicting requests
  - package glibc-2.39-17.fc40.i686 from updates requires glibc-common = 2.39-17.fc40, but none of the providers can be installed
  - package glibc-2.39-17.fc40.x86_64 from updates requires glibc-common = 2.39-17.fc40, but none of the providers can be installed
  - package glibc-2.39-6.fc40.i686 from fedora requires glibc-common = 2.39-6.fc40, but none of the providers can be installed
  - package glibc-2.39-6.fc40.x86_64 from fedora requires glibc-common = 2.39-6.fc40, 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
  - cannot install both glibc-common-2.39-17.fc40.x86_64 from updates and glibc-common-2.39-15.fc40.x86_64 from @System
  - cannot install both glibc-common-2.39-6.fc40.x86_64 from fedora and glibc-common-2.39-15.fc40.x86_64 from @System
  - cannot install both cpp-14.0.1-0.15.fc40.x86_64 from fedora and cpp-14.1.1-7.fc40.x86_64 from @System
 Problem 3: conflicting requests
  - package qt6ct-0.9-8.fc40.x86_64 from updates requires qt6-qtsvg, but none of the providers can be installed
  - package qt6ct-0.9-8.fc40.i686 from updates requires libQt6Core.so.6(Qt_6.7), but none of the providers can be installed
  - package qt6ct-0.9-7.fc40.i686 from fedora requires libQt6Core.so.6, but none of the providers can be installed
  - package qt6ct-0.9-7.fc40.i686 from fedora requires libQt6Core.so.6(Qt_6), but none of the providers can be installed
  - package qt6ct-0.9-7.fc40.i686 from fedora requires libQt6Core.so.6(Qt_6.6), but none of the providers can be installed
  - qt6-qtsvg-6.7.2-1.fc40.i686 from updates  does not belong to a distupgrade repository
  - qt6-qtsvg-6.6.2-1.fc40.i686 from fedora  does not belong to a distupgrade repository
  - package qt6ct-0.9-7.fc40.x86_64 from fedora requires libQt6Gui.so.6(Qt_6.6_PRIVATE_API)(64bit), but none of the providers can be installed
  - qt6-qtbase-6.7.2-2.fc40.i686 from updates  does not belong to a distupgrade repository
  - package qt6-qtsvg-6.7.2-1.fc40.x86_64 from updates requires qt6-qtbase(x86-64) = 6.7.2, but none of the providers can be installed
  - qt6-qtbase-6.6.2-7.fc40.i686 from fedora  does not belong to a distupgrade repository
  - package qt6-qtsvg-6.6.2-1.fc40.x86_64 from fedora requires qt6-qtbase(x86-64) = 6.6.2, but none of the providers can be installed
  - package qt6-qtsvg-6.6.2-1.fc40.x86_64 from fedora requires libQt6Core.so.6(Qt_6.6_PRIVATE_API)(64bit), but none of the providers can be installed
  - cannot install both qt6-qtbase-gui-6.6.2-7.fc40.x86_64 from fedora and qt6-qtbase-gui-6.7.1-2.fc40.x86_64 from @System
  - cannot install both qt6-qtbase-6.7.2-2.fc40.x86_64 from updates and qt6-qtbase-6.7.1-2.fc40.x86_64 from @System
  - cannot install both qt6-qtbase-6.6.2-7.fc40.x86_64 from fedora and qt6-qtbase-6.7.1-2.fc40.x86_64 from @System

I have no idea what could have caused this, I even tried uninstalling some layered packages but nothing helped

You probably need to remove all the things you have layered before you update, you can do this with an rpm-ostree reset and then reboot.

1 Like

I gave the command rpm-ostree reset and after restarting I came across a broken system that didn’t leave the login screen, I gave rollback and just uninstalled the packages related to glibc and c. After that I managed to upgrade successfully, this rollback system saves lives lol.

Yeah, layering just brings back the unreliability of the old world to the new one, which is why we don’t recommend it.

The occasional weird package (like a VPN provider or something) is usually fine, but if you’re pulling in glibc then that might be a red flag to look out for.

I avoid layering packages on the system too, I always try to install them using flatpak or appimage and if they are not available, I try using distrobox

1 Like