Dnf conflict when installing plasma-workspace-x11 under F40

I want to install plasma-workspace-x11 under F40, but it gives a conflict that I don’t know how to solve.

The system is up-to-date:

dnf update --refresh
Adobe Systems Incorporated                                                                                                                   11 kB/s | 2.9 kB     00:00    
Adobe Systems Incorporated                                                                                                                   45 kB/s | 2.9 kB     00:00    
Fedora 40 - x86_64                                                                                                                          154 kB/s |  27 kB     00:00    
Fedora 40 openh264 (From Cisco) - x86_64                                                                                                     12 kB/s | 989  B     00:00    
Fedora 40 - x86_64 - Updates                                                                                                                 50 kB/s |  25 kB     00:00    
google-earth-pro                                                                                                                             24 kB/s | 1.3 kB     00:00    
owncloud                                                                                                                                    8.9 kB/s | 1.5 kB     00:00    
eduVPN for Linux 4.x (Fedora 40)                                                                                                             40 kB/s | 3.0 kB     00:00    
RPM Fusion for Fedora 40 - Free                                                                                                              54 kB/s | 8.4 kB     00:00    
RPM Fusion for Fedora 40 - Free - Updates                                                                                                   102 kB/s | 7.7 kB     00:00    
RPM Fusion for Fedora 40 - Nonfree                                                                                                           22 kB/s | 9.0 kB     00:00    
RPM Fusion for Fedora 40 - Nonfree - Updates                                                                                                 89 kB/s | 7.8 kB     00:00    
RPM Fusion for Fedora 40 - Nonfree - Test Updates                                                                                           115 kB/s | 8.2 kB     00:00    
Visual Studio Code                                                                                                                          7.0 kB/s | 1.5 kB     00:00    
ZFS on Linux for Fedora 40                                                                                                                  5.9 kB/s | 2.9 kB     00:00    
Dependencies resolved.
Nothing to do.
Complete!

The conflict:

dnf install plasma-workspace-x11 
Last metadata expiration check: 0:01:29 ago on Tue 28 Jan 2025 06:15:44 PM CET.
Error: 
 Problem: problem with installed package mlt-qt6-7.28.0-4.fc40.x86_64
  - package mlt-qt6-7.28.0-4.fc40.x86_64 from @System requires libQt6Core.so.6(Qt_6.7)(64bit), but none of the providers can be installed
  - package mlt-qt6-7.28.0-4.fc40.x86_64 from updates requires libQt6Core.so.6(Qt_6.7)(64bit), but none of the providers can be installed
  - cannot install both qt6-qtbase-6.6.2-7.fc40.x86_64 from fedora and qt6-qtbase-6.8.1-11.fc40.x86_64 from @System
  - cannot install both qt6-qtbase-6.8.1-11.fc40.x86_64 from updates and qt6-qtbase-6.6.2-7.fc40.x86_64 from fedora
  - package plasma-workspace-6.0.3-2.fc40.x86_64 from fedora requires libQt6Core.so.6(Qt_6.6_PRIVATE_API)(64bit), but none of the providers can be installed
  - package plasma-workspace-x11-6.0.3-1.fc40.x86_64 from fedora requires plasma-workspace = 6.0.3, but none of the providers can be installed
  - conflicting requests
  - package plasma-workspace-x11-6.2.5-1.fc40.x86_64 from updates requires plasma-workspace = 6.2.5, but none of the providers can be installed
  - package plasma-workspace-6.2.5-2.fc40.x86_64 from @System requires libQt6Gui.so.6(Qt_6.8_PRIVATE_API)(64bit), but none of the providers can be installed
  - package plasma-workspace-6.2.5-2.fc40.x86_64 from updates 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.6.2-7.fc40.x86_64 from fedora and qt6-qtbase-gui-6.8.1-11.fc40.x86_64 from @System
  - cannot install both qt6-qtbase-gui-6.8.1-11.fc40.x86_64 from updates and qt6-qtbase-gui-6.6.2-7.fc40.x86_64 from fedora
  - package kwin-x11-6.0.3.1-1.fc40.x86_64 from fedora requires libQt6Gui.so.6(Qt_6.6_PRIVATE_API)(64bit), but none of the providers can be installed
  - package plasma-workspace-x11-6.2.5-1.fc40.x86_64 from updates requires kwin-x11, but none of the providers can be installed
  - nothing provides libQt6Gui.so.6(Qt_6.7_PRIVATE_API)(64bit) needed by kwin-x11-6.2.5-1.fc40.x86_64 from updates
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

If I run the dnf command with --allowerasing, it wants to downgrade 365 packages, including okular, kate, dolphin, VirtualBox. I can’t imagine that this is the right thing to do. In addition, packages kwin-x11 and plasma-workspace-x11 are marked as broken, so it won’t solve the problem.

Is there a problem with using wayland that we might help fix and avoid the switch to x11?
Running x11 is still supported but getting harder to do as time goes by.

1 Like

I recently switched from x11 to wayland on my systems, for exactly this reason.

The only thing that doesn’t work properly is the screen recorder vokoscreenNG. It does record the screen, but I use it mainly to record my USB-cams and that option is not present under wayland (no cameras tab). Maybe I can find another application that works.

(And I thought that screen sharing under a Teams video call doesn’t work, but it actually does.)

I also have another fedora system (but with F41) and there plasma-workspace-x11 installed properly. Not that I necessarily want to revert back to x11, but it is good to have it as a fallback option. And I think dnf should not give conflicts for packages from the standard (compatible) repositiories.

This happened because Qt was updated, and kwin-x11 wasn’t included in the update. There’s a rebuild in testing: FEDORA-2025-44c791d439 — bugfix update for kwin-x11 — Fedora Updates System

You can either wait, or install it from updates-testing (the instructions are on that page)

Trust me you have more problems than a single app not working if you try to make Fedora with X11 work XD

it is not really really supported anymore. Those package issues sound like outdated package configs, simply because nobody wants to maintain it anymore.

Try

  • OBS Studio
  • GPU Screen Recorder
  • Spectacle recording
  • Blue Recorder

Should be more than enough

*but ?

I overcame the urge to edit your post “-”

1 Like

Thanks, Chris.

The command, however, seems not to do anything, not sure why.

dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-44c791d439
Adobe Systems Incorporated                                                          21 kB/s | 2.9 kB     00:00    
Adobe Systems Incorporated                                                          47 kB/s | 2.9 kB     00:00    
Fedora 40 - x86_64                                                                  37 kB/s |  27 kB     00:00    
Fedora 40 openh264 (From Cisco) - x86_64                                           2.5 kB/s | 989  B     00:00    
Fedora 40 - x86_64 - Updates                                                       243 kB/s |  24 kB     00:00    
Fedora 40 - x86_64 - Test Updates                                                  239 kB/s |  21 kB     00:00    
google-earth-pro                                                                    26 kB/s | 1.3 kB     00:00    
owncloud                                                                           9.4 kB/s | 1.5 kB     00:00    
eduVPN for Linux 4.x (Fedora 40)                                                    38 kB/s | 3.0 kB     00:00    
RPM Fusion for Fedora 40 - Free                                                     20 kB/s | 8.5 kB     00:00    
RPM Fusion for Fedora 40 - Free - Updates                                           26 kB/s | 7.9 kB     00:00    
RPM Fusion for Fedora 40 - Nonfree                                                  23 kB/s | 9.2 kB     00:00    
RPM Fusion for Fedora 40 - Nonfree - Updates                                        98 kB/s | 8.2 kB     00:00    
RPM Fusion for Fedora 40 - Nonfree - Test Updates                                   87 kB/s | 8.4 kB     00:00    
Visual Studio Code                                                                 2.6 kB/s | 1.5 kB     00:00    
ZFS on Linux for Fedora 40                                                         6.5 kB/s | 2.9 kB     00:00    
No security updates needed, but 64 updates available
Dependencies resolved.
Nothing to do.
Complete!

Got it working by

dnf install kwin-x11 --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-44c791d439
dnf install plasma-workspace-x11

Thanks for the help.