Bug 2342639 - kwin-x11 and plasma-workspace-x11 outdated dependency
Summary: kwin-x11 and plasma-workspace-x11 outdated dependency
Keywords:
Status: CLOSED DUPLICATE of bug 2341705
Alias: None
Product: Fedora
Classification: Fedora
Component: kwin-x11
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kevin Kofler
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-28 19:47 UTC by Peter Tsonkov
Modified: 2025-01-28 20:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-28 20:07:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Tsonkov 2025-01-28 19:47:44 UTC
After last "dnf upgrade", kwin-x11 and plasma-workspace-x11 new versions start conflicting with newer version of qt6-qtbase and fail to upgrade. Package manager suggest to run "dnf upgrade --best --allowerasing", which lead to full upgrade and removal/uninstall of kwin-x11 and plasma-workspace-x11

When I try to install it back, it return following error:

```
# dnf 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)
# 
```

When I ran it with --allowerasing, package manager downgrade 300+ packages, install kwin-x11 plasma-workspace-x11, but now it again fail to upgrade:

```
# dnf upgrade --refresh
Docker CE Stable - x86_64                                                                                                                                                                                    51 kB/s | 3.5 kB     00:00    
Fedora 40 - x86_64                                                                                                                                                                                           31 kB/s |  27 kB     00:00    
Fedora 40 openh264 (From Cisco) - x86_64                                                                                                                                                                    1.4 kB/s | 989  B     00:00    
Fedora 40 - x86_64 - Updates                                                                                                                                                                                 49 kB/s |  25 kB     00:00    
google-chrome                                                                                                                                                                                               5.6 kB/s | 1.3 kB     00:00    
Kubernetes                                                                                                                                                                                                  3.5 kB/s | 1.7 kB     00:00    
Opera packages                                                                                                                                                                                              5.5 kB/s | 3.0 kB     00:00    
RPM Fusion for Fedora 40 - Free                                                                                                                                                                              25 kB/s | 8.4 kB     00:00    
RPM Fusion for Fedora 40 - Free - Updates                                                                                                                                                                    12 kB/s | 7.7 kB     00:00    
RPM Fusion for Fedora 40 - Nonfree                                                                                                                                                                           55 kB/s | 9.0 kB     00:00    
RPM Fusion for Fedora 40 - Nonfree - Updates                                                                                                                                                                 19 kB/s | 7.8 kB     00:00    
TeamViewer - x86_64                                                                                                                                                                                         9.6 kB/s | 867  B     00:00    
Visual Studio Code                                                                                                                                                                                          6.3 kB/s | 1.5 kB     00:00    
Visual Studio Code                                                                                                                                                                                          241 kB/s |  85 kB     00:00    
Dependencies resolved.

 Problem 1: cannot install the best update candidate for package kwin-x11-6.0.3.1-1.fc40.x86_64
  - 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: package plasma-workspace-x11-6.2.5-1.fc40.x86_64 from updates requires kwin-x11, but none of the providers can be installed
  - package kwin-x11-6.0.3.1-1.fc40.x86_64 from @System requires kwin-common(x86-64) = 6.0.3.1, but none of the providers can be installed
  - package kwin-x11-6.0.3.1-1.fc40.x86_64 from fedora requires kwin-common(x86-64) = 6.0.3.1, but none of the providers can be installed
  - cannot install both kwin-common-6.2.5-2.fc40.x86_64 from updates and kwin-common-6.0.3.1-2.fc40.x86_64 from @System
  - cannot install both kwin-common-6.2.5-2.fc40.x86_64 from updates and kwin-common-6.0.3.1-2.fc40.x86_64 from fedora
  - cannot install the best update candidate for package plasma-workspace-x11-6.0.3-1.fc40.x86_64
  - cannot install the best update candidate for package kwin-common-6.0.3.1-2.fc40.x86_64
  - 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 3: problem with installed package kwin-x11-6.0.3.1-1.fc40.x86_64
  - package kwin-x11-6.0.3.1-1.fc40.x86_64 from @System requires kwin-libs(x86-64) = 6.0.3.1, but none of the providers can be installed
  - package kwin-x11-6.0.3.1-1.fc40.x86_64 from fedora requires kwin-libs(x86-64) = 6.0.3.1, but none of the providers can be installed
  - cannot install both kwin-libs-6.2.5-2.fc40.x86_64 from updates and kwin-libs-6.0.3.1-2.fc40.x86_64 from @System
  - cannot install both kwin-libs-6.2.5-2.fc40.x86_64 from updates and kwin-libs-6.0.3.1-2.fc40.x86_64 from fedora
  - cannot install the best update candidate for package kwin-libs-6.0.3.1-2.fc40.x86_64
  - 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 4: package plasma-workspace-x11-6.2.5-1.fc40.x86_64 from updates requires kwin-x11, but none of the providers can be installed
  - problem with installed package plasma-workspace-x11-6.0.3-1.fc40.x86_64
  - package kwin-x11-6.0.3.1-1.fc40.x86_64 from @System requires libQt6Gui.so.6(Qt_6.6_PRIVATE_API)(64bit), 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
  - package plasma-workspace-x11-6.0.3-1.fc40.x86_64 from @System requires plasma-workspace = 6.0.3, 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
  - 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 @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
  - cannot install both plasma-workspace-6.2.5-2.fc40.x86_64 from updates and plasma-workspace-6.0.3-2.fc40.x86_64 from @System
  - cannot install both plasma-workspace-6.2.5-2.fc40.x86_64 from updates and plasma-workspace-6.0.3-2.fc40.x86_64 from fedora
  - cannot install the best update candidate for package qt6-qtbase-gui-6.6.2-7.fc40.x86_64
  - cannot install the best update candidate for package plasma-workspace-6.0.3-2.fc40.x86_64
  - nothing provides libQt6Gui.so.6(Qt_6.7_PRIVATE_API)(64bit) needed by kwin-x11-6.2.5-1.fc40.x86_64 from updates
============================================================================================================================================================================================================================================
 Package                                                          Architecture                                       Version                                                      Repository                                           Size
============================================================================================================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 kwin-common                                                      x86_64                                             6.2.5-2.fc40                                                 updates                                             3.7 M
 kwin-libs                                                        x86_64                                             6.2.5-2.fc40                                                 updates                                             2.3 M
 plasma-workspace                                                 x86_64                                             6.2.5-2.fc40                                                 updates                                              16 M
 qt6-qtbase-gui                                                   x86_64                                             6.8.1-11.fc40                                                updates                                             7.6 M
Skipping packages with broken dependencies:
 kwin-x11                                                         x86_64                                             6.2.5-1.fc40                                                 updates                                             481 k
 plasma-workspace-x11                                             x86_64                                             6.2.5-1.fc40                                                 updates                                              92 k

Transaction Summary
============================================================================================================================================================================================================================================
Skip  6 Packages

Nothing to do.
Complete!
# 
```

Reproducible: Always

Steps to Reproduce:
1. dnf upgrade
--> upgrade fail
2. dnf upgrade --best --allowerasing
--> upgrade all packages, but uninstall kwin-x11 plasma-workspace-x11
3. dnf install kwin-x11 plasma-workspace-x11
--> install fail due to wrong dependency
4. dnf install kwin-x11 plasma-workspace-x11 --allowerasing
--> downgrade 300+ packages and install kwin-x11 plasma-workspace-x11
5. dnf upgrade --refresh
--> upgrade fail
Actual Results:  
kwin-x11 and plasma-workspace-x11 fail to upgrade because of bad dependency

Expected Results:  
update kwin-x11 and plasma-workspace-x11 to work with last version of qt6-qtbase and probably other dependencies

Comment 1 Kevin Kofler 2025-01-28 20:07:11 UTC

*** This bug has been marked as a duplicate of bug 2341705 ***


Note You need to log in before you can comment on or make changes to this bug.