Can't dnf upgrade to 43 because of asynch in qt6 packages

So, have a perfectly running and functional F42 laptop. Saw that 43 was available, so tried to start the process using dnf upgrade plugin. Ran

sudo dnf upgrade --refresh

as usual first step, but got a slew of warnings about qt6.

So, instread, tried

 sudo dnf distro-sync --refresh

but that didn’t fix anything. Still see things like:

Skipping packages with broken dependencies:

libqtxdg 4.1.0-7.fc42 (in updates)
libqtxdg 4.1.0-3.fc42 (in fedora)

and

cannot install both qt6-qtbase 6.9.3-1 from updates and qt6-base-6.8.2-3 from @system.

And so on, and so on. [I can copy past the entire list of errors if that helps].

I even tried

sudo dnf upgrade --allowerasing 

as a Draconian step, but it didn’t help anything.

So, it looks like a bunch of things related to qt6 are not in synch between the main fedora repo(s), and the updates.

Suggestions? Pointers to the obvious?

Many thanks in advance…

2 Likes

Hi @cooch17 , welcome to the community.

Would it be possible to please post the error messages, as that’ll help us pin point what the cause is.

Sure - after yet another distro sync attempt:

Problem 1: cannot install the best update candidate for package libqtxdg-4.1.0-3.fc42.x86_64
  - nothing provides qt6-qtbase(x86-64) = 6.9.2 needed by libqtxdg-4.1.0-7.fc42.x86_64 from updates
 Problem 2: package libqtxdg-devel-4.1.0-7.fc42.x86_64 from updates requires libqtxdg(x86-64) = 4.1.0-7.fc42, but none of the providers can be installed
  - cannot install the best update candidate for package libqtxdg-devel-4.1.0-3.fc42.x86_64
  - nothing provides qt6-qtbase(x86-64) = 6.9.2 needed by libqtxdg-4.1.0-7.fc42.x86_64 from updates
 Problem 3: problem with installed package
  - installed package libqtxdg-4.1.0-3.fc42.x86_64 requires libQt6Core.so.6(Qt_6.8_PRIVATE_API)(64bit), but none of the providers can be installed
  - installed package libqtxdg-4.1.0-3.fc42.x86_64 requires qt6-qtbase(x86-64) = 6.8.2, but none of the providers can be installed
  - package libqtxdg-4.1.0-3.fc42.x86_64 from fedora requires libQt6Core.so.6(Qt_6.8_PRIVATE_API)(64bit), but none of the providers can be installed
  - package libqtxdg-4.1.0-3.fc42.x86_64 from fedora requires qt6-qtbase(x86-64) = 6.8.2, but none of the providers can be installed
  - cannot install both qt6-qtbase-6.9.3-1.fc42.x86_64 from updates and qt6-qtbase-6.8.2-3.fc42.x86_64 from @System
  - cannot install both qt6-qtbase-6.8.2-3.fc42.x86_64 from fedora and qt6-qtbase-6.9.3-1.fc42.x86_64 from updates
  - cannot install the best update candidate for package qt6-qtbase-6.8.2-3.fc42.x86_64
  - nothing provides qt6-qtbase(x86-64) = 6.9.2 needed by libqtxdg-4.1.0-7.fc42.x86_64 from updates
 Problem 4: problem with installed package
  - installed package libqtxdg-devel-4.1.0-3.fc42.x86_64 requires libQt6Xdg.so.4()(64bit), but none of the providers can be installed
  - installed package libqtxdg-devel-4.1.0-3.fc42.x86_64 requires libQt6XdgIconLoader.so.4()(64bit), but none of the providers can be installed
  - package libqtxdg-devel-4.1.0-3.fc42.x86_64 from fedora requires libQt6Xdg.so.4()(64bit), but none of the providers can be installed
  - package libqtxdg-devel-4.1.0-3.fc42.x86_64 from fedora requires libQt6XdgIconLoader.so.4()(64bit), but none of the providers can be installed
  - installed package libqtxdg-4.1.0-3.fc42.x86_64 requires libQt6Gui.so.6(Qt_6.8_PRIVATE_API)(64bit), but none of the providers can be installed
  - package libqtxdg-4.1.0-3.fc42.x86_64 from fedora requires libQt6Gui.so.6(Qt_6.8_PRIVATE_API)(64bit), but none of the providers can be installed
  - cannot install both qt6-qtbase-gui-6.9.3-1.fc42.x86_64 from updates and qt6-qtbase-gui-6.8.2-3.fc42.x86_64 from @System
  - cannot install both qt6-qtbase-gui-6.8.2-3.fc42.x86_64 from fedora and qt6-qtbase-gui-6.9.3-1.fc42.x86_64 from updates
  - package libqtxdg-devel-4.1.0-7.fc42.x86_64 from updates requires libqtxdg(x86-64) = 4.1.0-7.fc42, but none of the providers can be installed
  - cannot install the best update candidate for package qt6-qtbase-gui-6.8.2-3.fc42.x86_64
  - nothing provides qt6-qtbase(x86-64) = 6.9.2 needed by libqtxdg-4.1.0-7.fc42.x86_64 from updates

Package                                                          Arch           Version                                                          Repository                               Size
Skipping packages with conflicts:
 qt6-qtbase                                                      x86_64         6.9.3-1.fc42                                                     updates                              12.9 MiB
 qt6-qtbase-gui                                                  x86_64         6.9.3-1.fc42                                                     updates                              23.7 MiB
Skipping packages with broken dependencies:
 libqtxdg                                                        x86_64         4.1.0-7.fc42                                                     updates                             423.9 KiB
 libqtxdg-devel                                                  x86_64         4.1.0-7.fc42                                                     updates                              88.7 KiB
 libqtxdg                                                        x86_64         4.1.0-3.fc42                                                     fedora                              419.6 KiB
 libqtxdg-devel                                                  x86_64         4.1.0-3.fc42                                                     fedora                               88.7 KiB

1 Like

In case it informs, I also repeated everything after first running

sudo dnf clean all

so it wasn’t a caching issue.

1 Like

This indicates that libqtdx was not rebuilt when qt6 was updated. I see that a build for this was done today and pushed to testing:

https://bodhi.fedoraproject.org/updates/?packages=libqtxdg

It’ll take some time to get to you, though, so for the options are:

  1. try to remove the package, update, upgrade, and reinstall it. Hopefully, it won’t try to remove other bits.
  2. or temporarily enable the updates-testing repo to get the updated package, update, then try to upgrade
  3. or wait for it to get through testing, update, upgrade.

Option 1 should be fine if removing the package doesn’t try to pull out other bits. So worth trying.

2 Likes

Many thanks. I’ll wait. I’m in no huge hurry to do the upgrade to 43, which is what started me down this path.

1 Like

Well, I decided ‘what the heck’, tried your suggested option #2, and all well. Everything updated (used distrosync). Subseuqnet upgrade from 42 → 43 went perfectly.

Many thanks!

2 Likes

I have the very same issue with updating my Fedora 42 system. Will wait for the updated package, thanks @ankursinha for the information.

1 Like

Seems like a recurring issue. Even though I did manage to upgrade 42 → 43, doing a dnf upgrade this AM led to more or less the same issue: the ‘fedora’ and ‘updates’ repo are not in sync for qt6 libs.

So, my question: if updates is ‘newer’ than ‘fedora’, why doesn’t dnf simply force use of ‘updates’, sinece presumably updating to the newer version is the point of the exercise?

Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB
Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB

 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB
Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43       Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB
                   fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB

 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                     Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updPackage                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB
Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB
Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB
Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                   Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                      Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB
    fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB
       fedora               216.0 KiB
ates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB

 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB
     updates                2.1 MiBPackage                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:Package                                Arch       Version                                Repository                Size
Skipping packages with conflicts:
 qt6-qtbase-gui                        x86_64     6.10.0-2.fc43                          updates               26.2 MiB
 gstreamer1-plugins-good               x86_64     1.26.6-1.fc43                          fedora                 7.4 MiB
Skipping packages with broken dependencies:
 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB

 gstreamer1-plugins-good-qt6           x86_64     1.26.7-2.fc43                          updates              216.0 KiB
 qt6-qt5compat                         x86_64     6.10.0-1.fc43                          updates                2.1 MiB
 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB

 gstreamer1-plugins-good-qt6           x86_64     1.26.6-1.fc43                          fedora               216.0 KiB

the same thing for me (cannot upgrade qt6-qtbase from 6.9.2 to 6.9.3)

yet not moving to 43, just updating current 42

fixed with:

sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-d8f15e5a72

1 Like

Today I ran sudo dnf update --refresh and I didn’t get any errors. So the Qt thing seems to be fixed now.

Indeed, no fewer than 10 minutes or so before you posted, I tried the same thing, and was successful in updating my 43 upgraded machine to latest Qt6. Thanks!

I also had this issue but the libqtxdg package is now updated. Sometime patience is the best thing you can do.