Bug 1933510 - dnf conflict cannot install both ksysguard-libs-1:4.11.22-29.fc34.x86_64 and ksysguard-libs-5.21.1-2.fc34.x86_64
Summary: dnf conflict cannot install both ksysguard-libs-1:4.11.22-29.fc34.x86_64 and ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ksysguard
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-28 20:35 UTC by Matt Fagnani
Modified: 2021-03-01 19:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-01 17:58:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matt Fagnani 2021-02-28 20:35:03 UTC
Description of problem:

I ran sudo dnf upgrade in a Fedora 34 KDE Plasma installation with ksysguard and plasma-systemmonitor installed and updates-testing enabled. The update included ksysguard-libs-0:5.21.1-2.fc34.x86_64 and plasma-systemmonitor-5.21.1-2.fc34.x86_64. The update completed normally. When I ran sudo dnf upgrade again, a conflict was shown between ksysguard-libs-1:4.11.22-29.fc34.x86_64 which has epoch 1 and ksysguard-libs-5.21.1-2.fc34.x86_64 which has epoch 0.

Problem: package ksystemstats-5.21.1-2.fc34.x86_64 requires ksysguard-libs(x86-64) = 5.21.1-2.fc34, but none of the providers can be installed
  - cannot install both ksysguard-libs-1:4.11.22-29.fc34.x86_64 and ksysguard-libs-5.21.1-2.fc34.x86_64
  - cannot install the best update candidate for package ksystemstats-5.21.1-2.fc34.x86_64
  - cannot install the best update candidate for package ksysguard-libs-5.21.1-2.fc34.x86_64
======================================================================================================
 Package                    Architecture       Version                       Repository          Size
======================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 ksysguard-libs             x86_64             1:4.11.22-29.fc34             fedora             219 k

Transaction Summary
======================================================================================================
Skip  1 Package

Adding epoch 1 to ksysguard-5.21.1-2.fc34.x86_64 might avoid this conflict with the older ksysguard-libs-1:4.11.22-29.fc34.x86_64

Version-Release number of selected component (if applicable):
ksysguard-0:5.21.1-2.fc34.x86_64
ksysguard-libs-0:5.21.1-2.fc34.x86_64
ksysguardd-0:5.21.1-2.fc34.x86_64
ksystemstats-0:5.21.1-2.fc34.x86_64
plasma-systemmonitor-5.21.1-2.fc34.x86_64

How reproducible:
This dnf error has happened each of a few times I've run sudo dnf upgrade since the last updates including ksysguard-libs-0:5.21.1-2.fc34.x86_64

Steps to Reproduce:
1. Boot a Fedora 34 KDE Plasma installation updated to 2021-2-27 
2. Install ksysguard and plasma-systemmonitor if they aren't already.
3. sudo dnf upgrade --refresh
4. sudo dnf upgrade

Actual results:
dnf conflict cannot install both ksysguard-libs-1:4.11.22-29.fc34.x86_64 and ksysguard-libs-5.21.1-2.fc34.x86_64

Expected results:
No dnf error would happen.

Additional info:

Comment 1 Rex Dieter 2021-03-01 17:58:17 UTC
Should be fixed by a combination of newer builds:


kde-workspace-4.11.22-31.fc34 in
https://bodhi.fedoraproject.org/updates/FEDORA-2021-f09b451f6d

and

ksysguard-5.21.1-3.fc34 in
https://bodhi.fedoraproject.org/updates/FEDORA-2021-4cb70a50e5

Comment 2 Matt Fagnani 2021-03-01 19:59:22 UTC
(In reply to Rex Dieter from comment #1)
> Should be fixed by a combination of newer builds:
> 
> 
> kde-workspace-4.11.22-31.fc34 in
> https://bodhi.fedoraproject.org/updates/FEDORA-2021-f09b451f6d
> 
> and
> 
> ksysguard-5.21.1-3.fc34 in
> https://bodhi.fedoraproject.org/updates/FEDORA-2021-4cb70a50e5

I tried to update to ksysguard-5.21.1-3.fc34 from koji with 
sudo dnf upgrade https://kojipkgs.fedoraproject.org//packages/ksysguard/5.21.1/3.fc34/x86_64/ksysguard-5.21.1-3.fc34.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/ksysguard/5.21.1/3.fc34/x86_64/ksysguard-plugins-5.21.1-3.fc34.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/ksysguard/5.21.1/3.fc34/x86_64/ksysguardd-5.21.1-3.fc34.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/ksysguard/5.21.1/3.fc34/x86_64/ksystemstats-5.21.1-3.fc34.x86_64.rpm

dnf showed a transaction test error that the files from ksysguard-plugins-5.21.1-3.fc34.x86_64 conflict with ksysguard-libs-5.21.1-2.fc34.x86_64

Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
  file /usr/lib64/libksgrdbackend.so from install of ksysguard-plugins-5.21.1-3.fc34.x86_64 conflicts with file from package ksysguard-libs-5.21.1-2.fc34.x86_64
  file /usr/lib64/qt5/plugins/ksysguard/ksysguard_globalplugin_network.so from install of ksysguard-plugins-5.21.1-3.fc34.x86_64 conflicts with file from package ksysguard-libs-5.21.1-2.fc34.x86_64
  file /usr/lib64/qt5/plugins/ksysguard/ksysguard_ksgrd.so from install of ksysguard-plugins-5.21.1-3.fc34.x86_64 conflicts with file from package ksysguard-libs-5.21.1-2.fc34.x86_64
  file /usr/lib64/qt5/plugins/ksysguard/ksysguard_plugin_cpu.so from install of ksysguard-plugins-5.21.1-3.fc34.x86_64 conflicts with file from package ksysguard-libs-5.21.1-2.fc34.x86_64
  file /usr/lib64/qt5/plugins/ksysguard/ksysguard_plugin_disk.so from install of ksysguard-plugins-5.21.1-3.fc34.x86_64 conflicts with file from package ksysguard-libs-5.21.1-2.fc34.x86_64
  file /usr/lib64/qt5/plugins/ksysguard/ksysguard_plugin_memory.so from install of ksysguard-plugins-5.21.1-3.fc34.x86_64 conflicts with file from package ksysguard-libs-5.21.1-2.fc34.x86_64
  file /usr/lib64/qt5/plugins/ksysguard/ksysguard_plugin_osinfo.so from install of ksysguard-plugins-5.21.1-3.fc34.x86_64 conflicts with file from package ksysguard-libs-5.21.1-2.fc34.x86_64
  file /usr/lib64/qt5/plugins/ksysguard/ksysguard_plugin_power.so from install of ksysguard-plugins-5.21.1-3.fc34.x86_64 conflicts with file from package ksysguard-libs-5.21.1-2.fc34.x86_64
  file /usr/lib64/qt5/plugins/ksysguard/process/ksysguard_plugin_nvidia.so from install of ksysguard-plugins-5.21.1-3.fc34.x86_64 conflicts with file from package ksysguard-libs-5.21.1-2.fc34.x86_64
  file /usr/lib64/libkdeinit5_ksysguard.so from install of ksysguard-5.21.1-3.fc34.x86_64 conflicts with file from package ksysguard-libs-5.21.1-2.fc34.x86_64

Obsoleting ksysguard-libs-5.21.1-2.fc34.x86_64 might remove it.


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