Problems updating QT5 on Fedora 43

I’ve been having problems trying to install updates on my systems with graphical interfaces. This is due to a conflict with the qt5-qtwebengine-freeworld package. QT5 is a cross-platform graphical framework that allows developers of graphical applications to write user interface code for QT5 so that it will work on Linux, Windows, and MAC.

Unfortunately the qt5-qtwebengine-freeworld package is located in the rpmfusion-free repository and it’s updates don’t seem to be synchronized with the other QT5 packages. As a result we get these errors and the updates fail.

You can see the problem illustrated in Figure 1.

# dnf update
Updating and loading repositories:
Repositories loaded.
Problem 1: installed package qt5-qtwebengine-freeworld-5.15.18-3.fc43.x86_64 requires qt5-qtbase(x86-64) = 5.15.17, but none of the providers can be installed
- cannot install both qt5-qtbase-5.15.18-1.fc43.x86_64 from updates and qt5-qtbase-5.15.17-6.fc43.x86_64 from @System
- cannot install both qt5-qtbase-5.15.17-5.fc43.x86_64 from fedora and qt5-qtbase-5.15.18-1.fc43.x86_64 from updates
- cannot install the best update candidate for package qt5-qtwebengine-freeworld-5.15.18-3.fc43.x86_64
- cannot install the best update candidate for package qt5-qtbase-5.15.17-6.fc43.x86_64
Problem 2: problem with installed package
- installed package qt5-qtwebengine-freeworld-5.15.18-3.fc43.x86_64 requires qt5-qtwebengine(x86-64) = 5.15.18, but none of the providers canbe installed
- package qt5-qtwebengine-freeworld-5.15.18-3.fc43.x86_64 from rpmfusion-free requires qt5-qtwebengine(x86-64) = 5.15.18, but none of the providers can be installed
- cannot install both qt5-qtwebengine-5.15.19-2.fc43.x86_64 from updates and qt5-qtwebengine-5.15.18-6.fc43.x86_64 from @System
- cannot install both qt5-qtwebengine-5.15.18-6.fc43.x86_64 from fedora and qt5-qtwebengine-5.15.19-2.fc43.x86_64 from updates
- cannot install the best update candidate for package qt5-qtwebengine-5.15.18-6.fc43.x86_64

Package                                        Arch        Version                                         Repository                      Size
Skipping packages with conflicts:
qt5-qtbase                                    x86_64      5.15.18-1.fc43                                  updates                      9.8 MiB
qt5-qtwebengine                               x86_64      5.15.19-2.fc43                                  updates                    161.9 MiB
qt5-qtbase                                    x86_64      5.15.17-5.fc43                                  fedora                      10.0 MiB
Skipping packages with broken dependencies:
qt5-qtwebengine-freeworld                     x86_64      5.15.18-3.fc43                                  rpmfusion-free             139.3 MiB

Nothing to do.

Figure 1: Showing the conflict with qt5-qtwebengine-freeworld.

Remove the qt5-qtwebengine-freeworld package as shown in Figure 2.

# dnf remove qt5-qtwebengine-freeworld
Package                    Arch        Version                  Repository                      Size
Removing:
qt5-qtwebengine-freeworld  x86_64      5.15.18-3.fc43           rpmfusion-free             139.3 MiB
Removing unused dependencies:
libicu76                   x86_64      76.1-1.fc43              fedora                      36.3 MiB
qt5-qtwebengine            x86_64      5.15.18-6.fc43           fedora                     161.9 MiB

Transaction Summary:
Removing:           3 packages

After this operation, 338 MiB will be freed (install 0 B, remove 338 MiB).
Is this ok [y/N]: y
Running transaction
[1/4] Prepare transaction                                              100% |   4.0   B/s |   3.0   B |  00m01s
[2/4] Removing qt5-qtwebengine-freeworld-0:5.15.18-3.fc43.x86_64       100% |   1.3 KiB/s |  28.0   B |  00m00s
[3/4] Removing libicu76-0:76.1-1.fc43.x86_64                           100% |   2.4 KiB/s |  29.0   B |  00m00s
[4/4] Removing qt5-qtwebengine-0:5.15.18-6.fc43.x86_64                 100% | 198.0   B/s | 146.0   B |  00m01s
Complete!

Figure 2: Remove the qt5-qtwebengine-freeworld package.

Removing this package resolves the problem so that updates now work as expected. Since the package name implies it relates to a web engine, I tested my Firefox web browser and found no problems with that. Nor have I seen any other problems after removing that package.

Leave a Reply