fwupdmgr get-updates
hangs if run before fwupdmgr refresh
#9820
Labels
affects-4.2
This issue affects Qubes OS 4.2.
C: firmware
C: updates
needs diagnosis
Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
Qubes OS release
Qubes OS 4.2
Brief summary
Running
qubes-fwupdmgr get-updates
hangs if you run it beforequbes-fwupdmgr refresh
.Steps to reproduce
sudo qubes-fwupdmgr get-updates
Expected behavior
Either show updates or show an error stating that
qubes-fwupdmgr refresh
must be run first.Better yet, check not only if
qubes-fwupdmgr refresh
has been run, but when it has last been run, and show a warning if it is old (to avoid a user falsely thinking there are no new updates without realizing they need to refresh before running get-updates).Actual behavior
qubes-fwupdmgr
hangs. When terminated with Ctrl + C, outputs the following:Additional information
After running
qubes-fwupdmgr refresh
, it works as expected:The text was updated successfully, but these errors were encountered: