[Bug 1780520] Re: fwupd fails to refresh because of badly encoded data

2018-07-08 Thread Mario Limonciello
*** This bug is a duplicate of bug 1780442 ***
https://bugs.launchpad.net/bugs/1780442

Can you please bring that comment into the duplicate that I just made
this marked as.  I started SRU process in making the bug, but you can
continue it there as you already have a test build and can confirm from
your PPA it works etc.

** This bug has been marked a duplicate of bug 1780442
   Please backport fix for & in attributes

-- 
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

[Bug 1780520] Re: fwupd fails to refresh because of badly encoded data

2018-07-08 Thread Ubuntu Foundations Team Bug Bot
The attachment "06_ampersand_in_attribute_values.patch" seems to be a
patch.  If it isn't, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are a member of the ~ubuntu-
reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
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

[Bug 1780520] Re: fwupd fails to refresh because of badly encoded data

2018-07-08 Thread François Marier
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=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

[Bug 1780520] Re: fwupd fails to refresh because of badly encoded data

2018-07-08 Thread François Marier
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 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

[Bug 1780520] Re: fwupd fails to refresh because of badly encoded data

2018-07-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: appstream-glib (Ubuntu)
   Status: New => Confirmed

-- 
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