Ubuntu – Cannot update Logitech Unifying Receiver (version of org.freedesktop.fwupd incorrect: failed predicate [0.9.2 ge 0.8.1])

fwupdlogitech-unifying

There's security update for the Logitech Unifying Receiver (see Screenshot).

Ubuntu Software Screenshot

Clicking the button does nothing.

I came across this post https://ask.fedoraproject.org/en/question/109038/logitech-unifying-receiver-security-update/
Updating via command line doesn't work either

$ sudo fwupdmgr update
Downloading RQR12.07_B0029 for Unifying [runtime]...
Updating RQR12.07_B0029 on Unifying [runtime]...
Decompressing…         
version of org.freedesktop.fwupd incorrect: failed predicate [0.9.2 ge 0.8.1]

The only Google result for the error message is https://blogs.gnome.org/hughsie/2017/05/22/updating-logitech-hardware-on-linux/ . But the comment mentioning it doesn't look resolved.

So how do I install the update? Correct me if I'm wrong, but 0.9.2 is greater than or equal 0.8.1 which means the predicate check is just broken?

$ sudo apt-get -s upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Best Answer

I've opened an issue with fwupd. You need fwudp 0.9.2 or greater to update. Ubuntu 17.04 ships with 0.8.1. One solution is to use a live USB of a distribution such as Xubuntu 17.10 b1 which has a more recent version in its repositories. Since it is a firmware upgrade you can use the other distro to update the Unifying Receiver and then boot back into your normal system.

  • get a bootable USB disk with a distro containing a current version (I went with Xubuntu 17.10 b1, which currently has fwupd 0.9.7). Note that you probably want a 64-bit version of the OS - 32-bit fwupd segfaults if device is plugged in.
  • boot the live distro
  • plug in the receiver
  • apt update
  • apt install fwupd
  • edit /etc/fwupd/remotes.d/lvfs-testing.conf - change Enabled=false to Enabled=true
  • fwupdmgr refresh && fwupdmgr update

Source: https://github.com/hughsie/fwupd/issues/253#issuecomment-329755909