I have uploaded a fixed package to my PPA:
https://launchpad.net/~fmarier/+archive/ubuntu/ppa?field.series_filter=xenial

Here's how I fixed the problem:

1. upgrade the appstream-glib package to the one in my PPA
2. delete /var/cache/app-info/xmls/fwupd.xml
3. run `fwupdmgr refresh` as root to re-download the XML file

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to appstream-glib in Ubuntu.
https://bugs.launchpad.net/bugs/1780520

Title:
  fwupd fails to refresh because of badly encoded data

Status in appstream-glib package in Ubuntu:
  Confirmed

Bug description:
  I see the following in my logs several times a day:

    Jul  5 20:35:45 hostname fwupd[14510]: (fwupd:14510): Fu-WARNING **: 
FuMain: failed to load AppStream data: Failed to parse
  /var/cache/app-info/xmls/fwupd.xml file: Erreur à la ligne 265 : L’entité ne 
se termine pas par un point-virgule ; vous avez probablement
  utilisé une esperluette sans intention d’écrire une entité — échappez 
l’esperluette avec &
    Jul  5 20:36:07 hostname dbus[1044]: [system] Failed to activate service 
'org.freedesktop.fwupd': timed out

  and I get the following message when I run `apt update`:

    Réception de:18 http://security.ubuntu.com/ubuntu xenial-security/main 
amd64 DEP-11 Metadata [67,7 kB]
    Réception de:19 http://security.ubuntu.com/ubuntu xenial-security/main 
DEP-11 64x64 Icons [68,0 kB]
    Réception de:20 http://security.ubuntu.com/ubuntu xenial-security/universe 
amd64 DEP-11 Metadata [107 kB]
    Réception de:21 http://security.ubuntu.com/ubuntu xenial-security/universe 
DEP-11 64x64 Icons [142 kB]
    1 841 ko réceptionnés en 1s (1 128 ko/s)
    AppStream cache update completed, but some metadata was ignored due to 
errors.

  According to the fwupd author, this is a problem ib appstream-glib and
  the fix should be backported in 16.04:

    https://github.com/hughsie/fwupd/issues/565#issuecomment-402541089

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1780520/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to