The only change I made to the package is to drop the attached patch into
debian/patches.

It consists simply of the commit referenced by upstream:
https://github.com/hughsie/appstream-
glib/commit/6048520484101df5d33f3c852c10640e630d20cf

without the tests since they didn't applied cleanly.

** Patch added: "06_ampersand_in_attribute_values.patch"
   
https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1780520/+attachment/5161135/+files/06_ampersand_in_attribute_values.patch

** Description changed:

  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
+   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
+   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.
+   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
- 
- There are also a number of reports on ask.ubuntu.com:
- 
-   
https://askubuntu.com/questions/1051536/appstreamcli-appstream-system-cache-was-updated-but-problems-were-found-metad?noredirect=1&lq=1
-   
https://askubuntu.com/questions/943463/library-corruption-error-during-apt-get-update
+   https://github.com/hughsie/fwupd/issues/565#issuecomment-402541089

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

Title:
  fwupd fails to refresh because of badly encoded data

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

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

Reply via email to