Kwin-x11 and plasma-workspace-x11 outdated dependency

After last update, Qt base was updated to qt6-qtbase-6.8.1-11.fc40.x86_64, which lead to conflict with kwin-x11 and plasma-workspace-x11 dependencies and both apps were removed. Now when I try to install it back, it return following error:

# yum install kwin-x11 plasma-workspace-x11
Last metadata expiration check: 1:16:24 ago on Mon 27 Jan 2025 08:40:03 PM EET.
Error: 
 Problem 1: 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 qt6-qtbase-gui-6.6.2-7.fc40.x86_64 from fedora requires libQt6Core.so.6(Qt_6.6_PRIVATE_API)(64bit), but none of the providers can be installed
  - package qt6-qtbase-gui-6.6.2-7.fc40.x86_64 from fedora requires qt6-qtbase(x86-64) = 6.6.2-7.fc40, but none of the providers can be installed
  - 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
  - conflicting requests
  - nothing provides libQt6Gui.so.6(Qt_6.7_PRIVATE_API)(64bit) needed by kwin-x11-6.2.5-1.fc40.x86_64 from updates
 Problem 2: problem with installed package libksane-24.12.1-1.fc40.x86_64
  - package libksane-24.12.1-1.fc40.x86_64 from @System requires libQt6Core.so.6(Qt_6.8)(64bit), but none of the providers can be installed
  - package libksane-24.12.1-1.fc40.x86_64 from updates requires libQt6Core.so.6(Qt_6.8)(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 it with --allowerasing, package manager try to downgrade 300+ packages

Who should check this and fix broken dependencies?

Fedora 40 KDE
Plasma 6.2.5

That would be a distro packaging issue, not a KDE one.
It may well be a known issue, so they may have advice on how to proceed.

I only have passing memories about Fedora packaging, but isn’t dnf the appropriate/preferred tool instead of yum? There might be differences in dependency resolution between the two, perhaps? Just a stray thought.

1 Like

Hi!

Yep - dnf is the primary supported user tool for package management.

Just for reference, if there is an issue there that isn’t related to using yum instead of dnf, then that would be an issue specifically for the developer who is maintaining the KDE Plasma X11 session for Fedora, outside of the Fedora KDE Special Interest Group (which only maintains the packages for a Wayland session).

The Fedora Discussion boards would be the best place for general support on distribution packaging issues: https://discussion.fedoraproject.org

2 Likes

Good call re. fedoraproject (but I can’t post a link). This seemed to work for me:

sudo dnf install plasma-workspace-x11 kwin-x11 --enablerepo=updates-testing

I’m expecting I might also need to find some kernel argument for “nvidia_drm modeset=1” and remove it to get back to x11. Or maybe it’ll just work :slight_smile: