#519 DNF5 missing debuginfo-install plugin for plasma-drkonqi
Closed: Fixed by siosm. Opened by siosm.

Fedora 41 will include DNF5: https://fedoraproject.org/wiki/Changes/SwitchToDnf5

However, DNF5 does not yet include the debuginfo-install plugin, so we'll likely have both 4 & 5 installed in the KDE Spin (and Kinoite, see: https://fedoraproject.org/wiki/Changes/DNFAndBootcInImageModeFedora)

See:
- https://src.fedoraproject.org/rpms/plasma-drkonqi/blob/rawhide/f/plasma-drkonqi.spec#_51
- https://pagure.io/workstation-ostree-config/pull-request/514
- https://github.com/rpm-software-management/dnf5/issues/389
- https://github.com/rpm-software-management/dnf5/issues/846


https://github.com/rpm-software-management/dnf5/issues/846#issuecomment-2126996395 pointed me to https://sourceware.org/elfutils/Debuginfod.html

Reporting neal's comments on the upstream issue:

We already do this but we need a fallback for when that's not a viable backend. It is not reasonable to expect everything to be available via debuginfod with third party repositories (COPR, OBS, etc.).

Also, Red Hat Enterprise Linux does not have debuginfod servers.

Moreover the script currently invokes dnf debuginfo-install unversioned, so this would fail if /usr/bin/dnf is dnf5

We should consider using /usr/bin/debuginfo-install instead.

Ok actually... the script has never been working because it lives in /usr/libexec/ which is not in $PATH so QStandardPaths::findExecutable doesn't find it: https://invent.kde.org/plasma/drkonqi/-/blob/Plasma/6.1/src/debugpackageinstaller.cpp?ref_type=heads#L24

Fun! I don't know how many years it's been broken, time to kill it?

https://github.com/rpm-software-management/dnf5/issues/846 has been completed and should hopefully land in Rawhide before F41.

That's awesome, but we'd still not be using it ;)

It should be fixed so it works again then. :smile:

Also pending a new dnf5 release: https://github.com/rpm-software-management/dnf5/pull/1566#issuecomment-2243156113

PR in https://src.fedoraproject.org/rpms/plasma-drkonqi/pull-request/3

Metadata Update from @siosm:
- Issue assigned to siosm
- Issue marked as blocking: #112
- Issue set to the milestone: Fedora Linux 41
- Issue tagged with: kinoite

Update: https://bodhi.fedoraproject.org/updates/FEDORA-2024-ea3a0331bb

Last bit is https://pagure.io/workstation-ostree-config/pull-request/545

I've merged https://pagure.io/workstation-ostree-config/pull-request/545 so this should be complete now.

Metadata Update from @siosm:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata