Bug 449674

Summary: Firmware updates of fwupdmgr are not shown under "Update" on Debian
Product: [Applications] Discover Reporter: myndstream
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version First Reported In: 5.18.8   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description myndstream 2022-02-05 23:39:48 UTC
SUMMARY
In Discover v5.20.5 on Debian11, firmware updates of fwupdmgr are not shown under "Update" in Discover.

STEPS TO REPRODUCE
1. On Debian11 try to update firmware with Discover

OBSERVED RESULT
No updates are shown even there are available updates according to fwupdmgr update

EXPECTED RESULT
According to https://github.com/fwupd/fwupd/ "KDE Discover is the software center, generally bundled with KDE Plasma. With the release of KDE Plasma 5.14, a new fwupd backend has been implemented in KDE Discover for firmware updates. These firmware updates are shown with other system updates."

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Discover: 5.20.5

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-02-07 05:05:15 UTC
Do you have Discover's fwupd backend installed? Some distros don't install it by default.
Comment 2 myndstream 2022-02-07 16:22:32 UTC
(In reply to Nate Graham from comment #1)
> Do you have Discover's fwupd backend installed? Some distros don't install  it by default.

No, I didn't have it on Debian11/KDE. Had to install plasma-discover-backend-fwupd and didn't know this was required. It should be installed by default on Debian. I'll create a Debian bug report (they have very outdated bug reporting though so I'm not sure if anybody will read it) but don't know if it's because of the way how firmware integrity is (not sufficiently?) ensured this way. I asked about that here: https://unix.stackexchange.com/questions/689663/how-can-the-integrity-of-firmware-be-ensured-preinstalled-and-fwupd-updates

Maybe this can be closed for being an issue of Debian. However, I think the solution would be to have plasma-discover-backend-fwupd as a dependency of Discover. Could it be made a dependency of it please (maybe the issue title should get changed)?
Comment 3 Nate Graham 2022-02-07 16:29:10 UTC
> Maybe this can be closed for being an issue of Debian. However, I think the solution would be to have plasma-discover-backend-fwupd as a dependency of Discover. Could it be made a dependency of it please (maybe the issue title should get changed)?
I don't think so, because then any distros that don't ship fwupd or don't want to have it built-in would have to not package discover at all, which would be worse.

Please do report it to Debian, if you can manage figure out their unusably bad email-based "bug tracker" system. I never have. :( It's a major reason I never considered using Debian, personally.
Comment 4 myndstream 2022-02-07 17:42:29 UTC
Good point and thanks for the infos. The issue is here now: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005134