Bug 2249809 - Fedora 38, powerdevil and libddcutil cannot update
Summary: Fedora 38, powerdevil and libddcutil cannot update
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: powerdevil
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-15 12:30 UTC by Jeffrey Walton
Modified: 2024-05-01 18:08 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-05-01 18:08:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Transcript of 'dnf update' from command line (4.14 KB, text/plain)
2023-11-15 12:31 UTC, Jeffrey Walton
no flags Details

Description Jeffrey Walton 2023-11-15 12:30:13 UTC
Hi Everyone,

I'm running Fedora 38 with the KDE spin. Recently, powerdevil and libddcutil can no longer update. I think this started on Sunday night, Nov 12, 2023.

I believe something is a bit sideways with the latest updates to powerdevil and libddcutil. It looks like the problem is with libddcutil-2.0.0. I think F38 should only supply libddcutil-1.4.1. Maybe F39 can supply libddcutil-2.0.0, but I don't know for sure.

It also looks like there's been some activity lately for powerdevil and libddcutil: <https://bugs.kde.org/show_bug.cgi?id=476375>.

I don't know how to fix the problems with official repos providing wrong versions of software, so I have to report it. Sorry about that.

An upstream KDE bug for the issue was closed: <https://bugs.kde.org/show_bug.cgi?id=477040>.

(This is actually holding up my dnf-system-upgrade from Fedora 38 to Fedora 39).

----------

$ sudo dnf update
Fedora 38 - x86_64                              8.7 MB/s |  83 MB     00:09
Fedora 38 OpenH264 (from Cisco) - x86_64        5.6 kB/s | 2.5 kB     00:00
Fedora Modular 38 - x86_64                      2.3 MB/s | 2.8 MB     00:01
Fedora 38 - x86_64 - Updates                    9.8 MB/s |  35 MB     00:03
Fedora Modular 38 - x86_64 - Updates            2.5 MB/s | 2.1 MB     00:00
Metadata cache created.
Last metadata expiration check: 0:00:04 ago on Wed 15 Nov 2023 06:12:54 AM EST.
Dependencies resolved.

 Problem: package powerdevil-5.27.9-2.fc38.x86_64 from @System requires libddcutil.so.4()(64bit), but none of the providers can be installed
  - cannot install both libddcutil-2.0.0-1.fc38.x86_64 from updates and libddcutil-1.4.1-1.fc38.x86_64 from @System
  - cannot install both libddcutil-2.0.0-1.fc38.x86_64 from updates and libddcutil-1.4.1-1.fc38.x86_64 from fedora
  - cannot install the best update candidate for package libddcutil-1.4.1-1.fc38.x86_64
  - problem with installed package powerdevil-5.27.9-2.fc38.x86_64
================================================================================
 Package            Architecture   Version                Repository       Size
================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 libddcutil         x86_64         2.0.0-1.fc38           updates         319 k

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

$ sudo dnf update --best --allowerasing
Fedora 38 - x86_64                               11 MB/s |  83 MB     00:07
Fedora 38 OpenH264 (from Cisco) - x86_64        1.4 kB/s | 2.5 kB     00:01
Fedora Modular 38 - x86_64                      3.4 MB/s | 2.8 MB     00:00
Fedora 38 - x86_64 - Updates                    4.0 MB/s |  35 MB     00:08
Fedora Modular 38 - x86_64 - Updates            1.8 MB/s | 2.1 MB     00:01
Error:
 Problem: The operation would result in removing the following protected packages: plasma-desktop
(try to add '--skip-broken' to skip uninstallable packages)

$ sudo dnf update --best --allowerasing --skip-broken
Last metadata expiration check: 0:00:24 ago on Wed 15 Nov 2023 06:14:00 AM EST.
Error:
 Problem: The operation would result in removing the following protected packages: plasma-desktop

$ sudo dnf reinstall powerdevil
Last metadata expiration check: 0:23:51 ago on Wed 15 Nov 2023 06:24:25 AM EST.
Installed package powerdevil-5.27.9-2.fc38.x86_64 (from updates) not available.
Error: No packages marked for reinstall.

$ sudo dnf reinstall libddcutil
Last metadata expiration check: 0:00:10 ago on Wed 15 Nov 2023 06:53:52 AM EST.
Dependencies resolved.
================================================================================
 Package            Architecture   Version                 Repository      Size
================================================================================
Reinstalling:
 libddcutil         x86_64         1.4.1-1.fc38            fedora         259 k

Transaction Summary
================================================================================

Total download size: 259 k
Installed size: 731 k
Is this ok [y/N]: Y
Downloading Packages:
libddcutil-1.4.1-1.fc38.x86_64.rpm              562 kB/s | 259 kB     00:00
--------------------------------------------------------------------------------
Total                                           298 kB/s | 259 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Reinstalling     : libddcutil-1.4.1-1.fc38.x86_64                         1/2
  Cleanup          : libddcutil-1.4.1-1.fc38.x86_64                         2/2
  Running scriptlet: libddcutil-1.4.1-1.fc38.x86_64                         2/2
  Verifying        : libddcutil-1.4.1-1.fc38.x86_64                         1/2
  Verifying        : libddcutil-1.4.1-1.fc38.x86_64                         2/2

Reinstalled:
  libddcutil-1.4.1-1.fc38.x86_64

Reproducible: Always

Steps to Reproduce:
Install Fedora 38 with KDE spin. Run dnf update.
Actual Results:  
Package conflicts for libddcutil.

Expected Results:  
An update.

KDE spin. Prior to this problem, the machine was fully up-to-date.

Comment 1 Jeffrey Walton 2023-11-15 12:31:04 UTC
Created attachment 1999555 [details]
Transcript of 'dnf update' from command line

Comment 2 Jeffrey Walton 2023-11-15 12:37:57 UTC
Here is a similar report: <https://bugzilla.redhat.com/show_bug.cgi?id=2249345>. However, I do not have updates-testing repo enabled.

Comment 3 Jeffrey Walton 2023-11-15 15:09:07 UTC
According to Qiyu Yan on the fedora-users mailing list [0], the following command will clear the issue [1]:

   sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-581f3d0e12

The command was successful. It updated powerdevil and libddcutil.

And it did not enable the testing repo, which is something I was concerned about:

   $ dnf repolist enabled
   repo id                        repo name
   fedora                         Fedora 38 - x86_64
   fedora-cisco-openh264          Fedora 38 OpenH264 (from Cisco) - x86_64
   fedora-modular                 Fedora Modular 38 - x86_64
   updates                        Fedora 38 - x86_64 - Updates
   updates-modular                Fedora Modular 38 - x86_64 - Updates

[0] Problem with updating powerdevil and libddcutil from F38, <https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/thread/4DUFV4MHSOXNFYAESVOQKFKAAPBI7VMB/>.
[1] FEDORA-2023-581f3d0e12, <https://bodhi.fedoraproject.org/updates/FEDORA-2023-581f3d0e12>

Comment 4 sanford rockowitz 2024-01-20 19:05:16 UTC
A fix for a bug in libddcutil that caused powerdevil to crash repeatedly is fixed by ddcutil commit https://github.com/rockowitz/ddcutil/commit/7f157f620b7f4c3862e140b5b77ff9215f0b7497) in branch 2.1.1-dev. Given the impact of this bug I expect to push out point release in the next few days.

Comment 5 Jeffrey Walton 2024-05-01 18:08:00 UTC
Ok to close. The issue is fixed now.


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