Bug 2279322

Summary: kf5-libkdcraw-23.08.5 is not installable, making "KDE Plasma Workspaces" not installable
Product: [Fedora] Fedora EPEL Reporter: radu.fotescu
Component: kf5-libkdcrawAssignee: Rex Dieter <rdieter>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel9CC: kde-sig, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-07 10:08:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description radu.fotescu 2024-05-06 14:14:55 UTC
Description of problem: Following EPEL's upgrade from KDE 5.27.6 / KF 5.108.0 to KDE 5.27.11 / KF 5.115.0, there are unmet dependencies that lead to KDE being uninstallable. 

kf5-libkdcraw-23.08.5 seems to be the main culprit. Systems that already had KDE 5.27.6 / KF 5.108.0 can upgrade to KDE 5.27.11 / KF 5.115.0 as long as they have kf5-libkdcraw-23.04.3 installed; but non-KDE systems cannot groupinstall "KDE Plasma Workspaces" not even with --nobest --skip-broken, because some version of kf5-libkdcraw is required, and the only one in the repo is not installable.

Version-Release number of selected component (if applicable): 23.08.5

How reproducible: Always on systems that don't have KDE installed.

Steps to Reproduce:
1. Use a system that has any other DE but KDE, or no DE at all.
2. Try `sudo dnf groupinstall "KDE Plasma Workspaces"` (as is, or with `--nobest --skip-broken`)

Actual results: KDE Plasma Workspaces is not installable.

Error:
  Problem 1: package kdegraphics-thumbnailers-23.08.5-1.el9.x86_64 from 
epel requires libKF5KDcraw.so.5()(64bit), but none of the providers can 
be installed
   - conflicting requests
   - nothing provides libraw.so.23()(64bit) needed by 
kf5-libkdcraw-23.08.5-1.el9.x86_64 from epel
  Problem 2: package gwenview-1:23.08.5-2.el9.x86_64 from epel requires 
libgwenviewlib.so.5()(64bit), but none of the providers can be installed
   - package gwenview-1:23.08.5-2.el9.x86_64 from epel requires 
gwenview-libs(x86-64) = 1:23.08.5-2.el9, but none of the providers can 
be installed
   - package gwenview-libs-1:23.08.5-2.el9.x86_64 from epel requires 
libKF5KDcraw.so.5()(64bit), but none of the providers can be installed
   - conflicting requests
   - nothing provides libraw.so.23()(64bit) needed by 
kf5-libkdcraw-23.08.5-1.el9.x86_64 from epel

Expected results: KDE Plasma Workspaces should have been installable.

Additional info: As a temporary workaround, the affected users could temporarily enable epel-testing, then install KDE using `sudo dnf groupinstall "KDE Plasma Workspaces" --nobest --skip-broken`, as there is a non-installable ImageMagick in epel-testing that should be skipped. This is not to be recommended on production systems, but I tested it in a VM on AlmaLinux 9.3 MATE, and it led to a fully functional KDE 5.27.11 / KF 5.115.0 with both X11 and Wayland.

Comment 1 radu.fotescu 2024-05-07 01:27:10 UTC
The error might be different now:

$ sudo dnf groupinstall "KDE Plasma Workspaces"
Last metadata expiration check: 0:00:45 ago on Tue 07 May 2024 04:15:27 AM EEST.
Error: 
 Problem 1: problem with installed package ImageMagick-libs-6.9.12.93-1.el9.x86_64
  - package ImageMagick-libs-6.9.12.93-1.el9.x86_64 from @System requires libraw_r.so.20()(64bit), but none of the providers can be installed
  - package ImageMagick-libs-6.9.12.93-1.el9.x86_64 from epel requires libraw_r.so.20()(64bit), but none of the providers can be installed
  - cannot install both LibRaw-0.21.1-1.el9.x86_64 from appstream and LibRaw-0.20.2-6.el9.x86_64 from @System
  - package kf5-libkdcraw-23.08.5-1.el9.x86_64 from epel requires libraw.so.23()(64bit), but none of the providers can be installed
  - package kdegraphics-thumbnailers-23.08.5-1.el9.x86_64 from epel requires libKF5KDcraw.so.5()(64bit), but none of the providers can be installed
  - conflicting requests
 Problem 2: problem with installed package eom-1.26.1-1.el9.x86_64
  - package eom-1.26.1-1.el9.x86_64 from @System requires libMagickWand-6.Q16.so.7()(64bit), but none of the providers can be installed
  - package eom-1.26.1-1.el9.x86_64 from epel requires libMagickWand-6.Q16.so.7()(64bit), but none of the providers can be installed
  - package ImageMagick-libs-6.9.12.93-1.el9.x86_64 from @System requires libraw_r.so.20()(64bit), but none of the providers can be installed
  - package ImageMagick-libs-6.9.12.93-1.el9.x86_64 from epel requires libraw_r.so.20()(64bit), but none of the providers can be installed
  - cannot install both LibRaw-0.21.1-1.el9.x86_64 from appstream and LibRaw-0.20.2-6.el9.x86_64 from @System
  - package kf5-libkdcraw-23.08.5-1.el9.x86_64 from epel requires libraw.so.23()(64bit), but none of the providers can be installed
  - package gwenview-libs-1:23.08.5-2.el9.x86_64 from epel requires libKF5KDcraw.so.5()(64bit), but none of the providers can be installed
  - package gwenview-1:23.08.5-2.el9.x86_64 from epel requires libgwenviewlib.so.5()(64bit), but none of the providers can be installed
  - package gwenview-1:23.08.5-2.el9.x86_64 from epel requires gwenview-libs(x86-64) = 1:23.08.5-2.el9, but none of the providers can be installed
  - conflicting requests

Still, I don't understand how, on a system that already had KDE, after having upgraded to 9.4 (AlmaLinux), even the upgrade to kf5-libkdcraw-23.08.5-1.el9.x86_64 was possible! Not on 9.3, though.

Comment 2 radu.fotescu 2024-05-07 10:08:46 UTC
Update: "KDE Plasma Workspaces" installs just fine on 9.4 (tested on AlmaLinux 9.4 Minimal Install).

The situation is likely due to the fact that there is a unique EPEL9, not EPEL9.3 and EPEL9.4, and the KDE upgrade released after the release of EL9.4 wasn't supposed to work with EL9.3.

I suppose we tend to forget that we should upgrade to the next point release ASAP.