Comment 15 for bug 1780442

Revision history for this message
gumbeto (gumbeto) wrote :

Hello,

The package name here is libappstream-glib8 (no package found by the name appstream-glib). I installed the new version:

$ apt-cache policy libappstream-glib8 | grep -i installed
  Installed: 0.5.13-1ubuntu6

... and I confirm it fixes the bug here, *under the following circumstances*:

1. I did reboot just after installing the new version. I am not sure whether this step is necessary, but I wanted to force a reload of the lib in memory, as it was in use by a couple of processes:

$ dpkg -L libappstream-glib8 | grep .so
/usr/lib/x86_64-linux-gnu/libappstream-glib.so.8.0.6
/usr/lib/x86_64-linux-gnu/libappstream-glib.so.8
$ lsof /usr/lib/x86_64-linux-gnu/libappstream-glib.so*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
compiz 2096 **** mem REG 8,17 279256 1837580 /usr/lib/x86_64-linux-gnu/libappstream-glib.so.8.0.6
gnome-sof 2249 **** mem REG 8,17 279256 1837580 /usr/lib/x86_64-linux-gnu/libappstream-glib.so.8.0.6

2. It did not work until I removed the offending cache file first. Running `sudo fwupdmgr refresh --force` and `sudo appstreamcli refresh-cache --force --verbose` wouldn't update the file otherwise.