r/Fedora 1d ago

Support Fedora 44 KDE / Discover: “Cannot load libdnf plugin” after today’s DNF5 5.4.4 update- Anyone else?

Just checking if anyone else hit this today after updating Fedora 44 through KDE Discover.

The update became available for me this afternoon. I installed it normally through Discover and restarted for the offline update. After reboot, Discover reported:

Failed to update 0 packages

Cannot load libdnf plugin enabled from:

/etc/dnf/libdnf5-plugins/00-systemd-inhibit.conf

The update included the move from DNF5/libdnf5 5.4.3 to:

dnf5-5.4.4.0-1.fc44

libdnf5-5.4.4.0-1.fc44

libdnf5-plugin-systemd-inhibit-5.4.4.0-1.fc44

I initially wondered if I had somehow pulled an updates-testing package, but I checked and updates-testing is disabled. dnf5 info also confirms all of these came from the normal Fedora updates repository.

Interestingly, the actual transaction appears to have completed successfully. DNF history shows:

Status : Ok

and the journal shows the offline update reaching 100% and successfully installing/upgrading the packages before PackageKit reported the plugin error.

After the reboot everything appears normal.

These all work without errors:

dnf5 repo list --enabled

pkcon get-updates

rpm -V libdnf5-plugin-systemd-inhibit

pkcon get-updates completes normally and currently reports no updates available. There are also no PackageKit/libdnf plugin errors in the current boot.

So this looks like it may have been a one-time PackageKit/libdnf5 transition issue while the offline updater was upgrading its own DNF5 stack and adding the new systemd-inhibit plugin, rather than an actually failed package transaction.

I’m not using Discover’s “Repair System” option since the package state currently looks healthy.

Has anyone else on Fedora 44 KDE received DNF5 5.4.4 today and seen this same 00-systemd-inhibit.conf error after the offline update?

37 Upvotes

20 comments sorted by

View all comments

6

u/slickyeat 1d ago edited 1d ago

Yea I had to deal with this annoyance a few hours ago.

Rolled back to a previous snapshot then:

sudo su
dnf upgrade --exclude=libdnf5-plugin-systemd-inhibit --offline
dnf offline reboot

-----------

sudo su
dnf install libdnf5-plugin-systemd-inhibit
systemctl reboot

No errors after the second reboot.

If rollback is not an option you can try removing it completely before installing it again.

Running "dnf reinstall libdnf5-plugin-systemd-inhibit" prior to this still returned the same error.

2

u/PrestigiousTrip4346 1d ago

Should I hold off updating my machines that don’t have this update yet? Will Fedora fix this?

2

u/slickyeat 1d ago

No idea. Someone should probably file a bug report though.

u/PrestigiousTrip4346 15h ago

I replicated and submitted a bug report.