As mentioned in #8 there has been several upstream discussions and it
was concluded this is due to a CDN mirroring issue causing problems with
the metadata design used in 1.3.x or earlier versions.

There was an updated design added into fwupd 1.4.x and later that will
avoid the CDN mirroring issue.  So this bug does not affect groovy
(1.4.x) or hirsute (1.5.x).

The reason that this started to "show up" in 1.3.x on focal is because
focal also introduced a new systemd unit fwupd-refresh.service and
fwupd-refresh.timer.  These will download metadata regularly and notify
the user via the motd of any devices with firmware updates.

That being said it's *definitely* occurred on fwupdmgr or gnome-software
as well which can be seen from the other issues linked in #8.

For anyone encountering this, a few workarounds:
1) If you're not ever intending on using fwupd on your machine, you can remove 
it
# sudo apt purge fwupd

2) If your machine does support updates and you'll just manually check for 
updates, mask the service to prevent it from running.
# sudo systemctl mask fwupd-refresh.service

3) Modify the fwupd-refresh.service unit to set "1" as a valid return
code.  This would paper over the issues when there are CDN problems and
potentially mean you'll be a day or two behind in notification for new
firmware updates.


The most "proper" solution in Ubuntu should be a backport of 1.4.x or 1.5.x to 
focal. Due to the requirements and previous agreements in SRU policy this will 
require alignment with the technical board as well as a MIR for libjcat which 
is in universe for focal.  It's in main for groovy and later.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1909603

Title:
  Occasionally fwupd-refresh.service: Failed with result 'exit-code'

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwupd/+bug/1909603/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to