Different packages seem to want different versions of same dependency

This is what happens when I run “sudo dnf update”:

Last metadata expiration check: 1:36:10 ago on Sat 05 Dec 2020 09:31:12 PM IST.
Dependencies resolved.

 Problem 1: package qt5-qtwebengine-freeworld-5.15.1-1.fc33.x86_64 requires qt5-qtbase(x86-64) = 5.15.1, but none of the providers can be installed
  - cannot install both qt5-qtbase-5.15.2-2.fc33.x86_64 and qt5-qtbase-5.15.1-7.fc33.x86_64
  - cannot install both qt5-qtbase-5.15.1-5.fc33.x86_64 and qt5-qtbase-5.15.2-2.fc33.x86_64
  - cannot install the best update candidate for package qt5-qtwebengine-freeworld-5.15.1-1.fc33.x86_64
  - cannot install the best update candidate for package qt5-qtbase-5.15.1-7.fc33.x86_64
 Problem 2: problem with installed package qt5-qtwebengine-freeworld-5.15.1-1.fc33.x86_64
  - package qt5-qtwebengine-freeworld-5.15.1-1.fc33.x86_64 requires libQt5Gui.so.5(Qt_5.15.1_PRIVATE_API)(64bit), but none of the providers can be installed
  - cannot install both qt5-qtbase-gui-5.15.2-2.fc33.x86_64 and qt5-qtbase-gui-5.15.1-7.fc33.x86_64
  - cannot install both qt5-qtbase-gui-5.15.1-5.fc33.x86_64 and qt5-qtbase-gui-5.15.2-2.fc33.x86_64
  - cannot install the best update candidate for package qt5-qtbase-gui-5.15.1-7.fc33.x86_64
============================================================================================================================================================
 Package                                  Architecture                     Version                                  Repository                         Size
============================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 qt5-qtbase                               x86_64                           5.15.1-5.fc33                            fedora                            3.4 M
 qt5-qtbase                               x86_64                           5.15.2-2.fc33                            updates                           3.4 M
 qt5-qtbase-gui                           x86_64                           5.15.1-5.fc33                            fedora                            6.0 M
 qt5-qtbase-gui                           x86_64                           5.15.2-2.fc33                            updates                           6.0 M

Transaction Summary
============================================================================================================================================================
Skip  4 Packages

Nothing to do.
Complete!

There seem to be conflict in packages. When I add ‘–best --allowerasing’, this happens:

Last metadata expiration check: 1:34:37 ago on Sat 05 Dec 2020 09:31:12 PM IST.
Dependencies resolved.
============================================================================================================================================================
 Package                                           Architecture           Version                                     Repository                       Size
============================================================================================================================================================
Upgrading:
 kf5-akonadi-server                                x86_64                 20.08.3-2.fc33                              updates                         2.4 M
 kf5-akonadi-server-mysql                          x86_64                 20.08.3-2.fc33                              updates                          11 k
 kf5-frameworkintegration                          x86_64                 5.75.0-1.fc33.1                             updates                         1.6 M
 kf5-frameworkintegration-libs                     x86_64                 5.75.0-1.fc33.1                             updates                          30 k
 kf5-kdeclarative                                  x86_64                 5.75.0-1.fc33.1                             updates                         318 k
 kf5-kwayland                                      x86_64                 5.75.0-1.fc33.1                             updates                         530 k
 kf5-kxmlgui                                       x86_64                 5.75.0-1.fc33.1                             updates                         681 k
 kwin                                              x86_64                 5.20.3-2.fc33                               updates                         7.3 k
 kwin-common                                       x86_64                 5.20.3-2.fc33                               updates                         2.5 M
 kwin-libs                                         x86_64                 5.20.3-2.fc33                               updates                         1.5 M
 kwin-wayland                                      x86_64                 5.20.3-2.fc33                               updates                         453 k
 kwin-x11                                          x86_64                 5.20.3-2.fc33                               updates                         137 k
 libkworkspace5                                    x86_64                 5.20.3-3.fc33                               updates                         112 k
 plasma-integration                                x86_64                 5.20.3-2.fc33                               updates                         164 k
 plasma-lookandfeel-fedora                         noarch                 5.20.3-3.fc33                               updates                         1.1 M
 plasma-workspace                                  x86_64                 5.20.3-3.fc33                               updates                         6.8 M
 plasma-workspace-common                           x86_64                 5.20.3-3.fc33                               updates                          29 k
 plasma-workspace-geolocation                      x86_64                 5.20.3-3.fc33                               updates                          54 k
 plasma-workspace-geolocation-libs                 x86_64                 5.20.3-3.fc33                               updates                          23 k
 plasma-workspace-libs                             x86_64                 5.20.3-3.fc33                               updates                         2.0 M
 plasma-workspace-wayland                          x86_64                 5.20.3-3.fc33                               updates                          29 k
 plasma-workspace-xorg                             x86_64                 5.20.3-3.fc33                               updates                          35 k
 qt5-qdbusviewer                                   x86_64                 5.15.2-2.fc33                               updates                          58 k
 qt5-qtbase                                        x86_64                 5.15.2-2.fc33                               updates                         3.4 M
 qt5-qtbase-common                                 noarch                 5.15.2-2.fc33                               updates                          11 k
 qt5-qtbase-gui                                    x86_64                 5.15.2-2.fc33                               updates                         6.0 M
 qt5-qtbase-mysql                                  x86_64                 5.15.2-2.fc33                               updates                          41 k
 qt5-qtdeclarative                                 x86_64                 5.15.2-2.fc33                               updates                         3.9 M
 qt5-qtgraphicaleffects                            x86_64                 5.15.2-2.fc33                               updates                         112 k
 qt5-qtimageformats                                x86_64                 5.15.2-2.fc33                               updates                          99 k
 qt5-qtlocation                                    x86_64                 5.15.2-2.fc33                               updates                         3.0 M
 qt5-qtmultimedia                                  x86_64                 5.15.2-2.fc33                               updates                         798 k
 qt5-qtnetworkauth                                 x86_64                 5.15.2-2.fc33                               updates                          81 k
 qt5-qtquickcontrols                               x86_64                 5.15.2-2.fc33                               updates                         1.0 M
 qt5-qtquickcontrols2                              x86_64                 5.15.2-2.fc33                               updates                         1.6 M
 qt5-qtscript                                      x86_64                 5.15.2-2.fc33                               updates                         1.0 M
 qt5-qtsensors                                     x86_64                 5.15.2-2.fc33                               updates                         224 k
 qt5-qtspeech                                      x86_64                 5.15.2-2.fc33                               updates                          44 k
 qt5-qtspeech-speechd                              x86_64                 5.15.2-2.fc33                               updates                          24 k
 qt5-qtsvg                                         x86_64                 5.15.2-2.fc33                               updates                         186 k
 qt5-qttools                                       x86_64                 5.15.2-2.fc33                               updates                          41 k
 qt5-qttools-common                                noarch                 5.15.2-2.fc33                               updates                          11 k
 qt5-qttools-libs-designer                         x86_64                 5.15.2-2.fc33                               updates                         2.7 M
 qt5-qtvirtualkeyboard                             x86_64                 5.15.2-2.fc33                               updates                         2.4 M
 qt5-qtwayland                                     x86_64                 5.15.2-2.fc33                               updates                         1.0 M
 qt5-qtwebchannel                                  x86_64                 5.15.2-2.fc33                               updates                         101 k
 qt5-qtwebengine                                   x86_64                 5.15.2-1.fc33                               updates                          55 M
 qt5-qtwebkit                                      x86_64                 5.212.0-0.53.alpha4.fc33                    updates                          13 M
 qt5-qtx11extras                                   x86_64                 5.15.2-2.fc33                               updates                          35 k
 qt5-qtxmlpatterns                                 x86_64                 5.15.2-2.fc33                               updates                         1.0 M
 sddm-breeze                                       noarch                 5.20.3-3.fc33                               updates                         935 k
 xdg-desktop-portal-kde                            x86_64                 5.20.3-2.fc33                               updates                         224 k
Removing dependent packages:
 qt5-qtwebengine-freeworld                         x86_64                 5.15.1-1.fc33                               @rpmfusion-free                 125 M

Transaction Summary
============================================================================================================================================================
Upgrade  52 Packages
Remove    1 Package

Total download size: 118 M
Is this ok [y/N]: n
Operation aborted.

I am worried about the removing dependent packages part. Should I let it be removed or just not upgrade the rest? I am not sure what that package does.

1 Like

You can allow the removal. Note that is from rpmfusion and note the package name. If you want it after the update is done then reinstall it.

6 Likes

But if it’s from rpmfusion and I don’t remember installing it, maybe it’s a dependency for another package?

If it’s a requirement of another package, that would also have been listed as to-be-removed in the last case, so this should be safe.

This is presumably happening, by the way, because the RPM Fusion package just hasn’t been updated yet. In this particular case, the consequence might be that some patent-encumbered codecs aren’t available until you can reinstall it.

3 Likes

i have exact same problem. but instead of qt5-qtwebengine-freeworld its telegram-desktop so i cant just remove that. can i wait for rpmfusion to fix that or no choice?

1 Like

Telegram Desktop is available vía flatpak check It

Regards.,

Yeah, this is one of the big advantages of flatpaks – they’re self-contained, so they don’t have these interdependency problems.

General note for all RPM Fusion users: RPM Fusion lags Fedora when a change in Fedora requires rebuilds in RPM Fusion. You can ignore the issue, as soon as RPM Fusion have done their builds and pushed them to the repos, it will go away.

(So, you do not need to remove the package: because then you’ll have to reinstall it again).

6 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.