Fix dnf upgrade --allowerasing errors with EPEL packages
Some checks failed
Build RPMs / build (push) Failing after 1h6m24s
Some checks failed
Build RPMs / build (push) Failing after 1h6m24s
Fix 4 errors that occurred when running dnf upgrade --allowerasing on a system with EPEL KDE packages installed: 1. plasma-discover: Fix typo "sonic-desktop-interface)" -> "sonic-desktop-interface" in Requires (stray closing parenthesis in spec) 2. sonic-frameworks-sso: Remove Obsoletes for signon and signon-qt6. The SonicDE SSO package provides libsignon-qt6.so.0 while the EPEL signon-qt6 provides libsignon-qt6.so.1. Obsoleting signon-qt6 breaks accounts-qml-module-qt6 and signon-plugin-oauth2 which need .so.1. Both packages can coexist since they install different .so versions. 3. sonic-terminal-tools: Change kdesu dependency from strict version match (= 1:6.7.4-3) to >= 1:6.7.4 so it works with any kdesu 6.7.4 release. Also add Obsoletes for kdesu < 1:6.7.4-2.el10 in the kdesu subpackage so it properly replaces the old EPEL kdesu from kde-cli-tools. 4. kamera: Add kamera package with Requires changed from kde-cli-tools to sonic-terminal-tools. The EPEL kamera requires kde-cli-tools which is obsoleted by sonic-terminal-tools, causing a circular dependency resolution failure. 5. skanpage: Change Requires from kquickimageeditor-qt6 (obsoleted by sonic-quick-image-editor-qt6) to sonic-quick-image-editor-qt6. Result: dnf upgrade --allowerasing --best from standard EPEL KDE now completes with 0 errors and 0 package removals. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
a88703e93e
commit
2735e8fae8
6 changed files with 84 additions and 11 deletions
|
|
@ -10,7 +10,7 @@
|
|||
#Name: kde-cli-tools
|
||||
Name: sonic-terminal-tools
|
||||
Version: 6.7.4
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
|
||||
Summary: Tools based on KDE Frameworks 5 to better interact with the system
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ BuildRequires: sonic-workspace-devel >= %{version}
|
|||
Requires: sonic-workspace-libs%{?_isa} >= %{version}
|
||||
|
||||
# upgrade path, from when this wasn't split out
|
||||
Requires: kdesu = 1:%{version}-%{release}
|
||||
Requires: kdesu >= 1:%{version}
|
||||
|
||||
# unversioned utilitized landed here in 5.23.90, see also
|
||||
# https://phabricator.kde.org/T14763
|
||||
|
|
@ -66,6 +66,7 @@ Summary: Runs a program with elevated privileges
|
|||
Epoch: 1
|
||||
Conflicts: kde-runtime < 14.12.3-2
|
||||
Conflicts: kde-runtime-docs < 14.12.3-2
|
||||
Obsoletes: kdesu < 1:6.7.4-2.el10
|
||||
%description -n kdesu
|
||||
%{summary}.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue