fwupdmgr refresh shows "Mismatched XML" error in 16.04 Ubuntu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fwupd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Critical
|
Tim Chen |
Bug Description
[Impact]
Execute the `fwupdmgr refresh` command shows "Mismatched XML" message in a fully updated Ubuntu 16.04 desktop,
[Test Case]
To reproduce on any Ubuntu 16.04 classic (Xenial):
#apt install fwupd
#fwupdmgr refresh
failed to update metadata: Failed to parse XML: Mismatched XML
The core snap `uefi-fw-tools` used in Ubuntu Core 16 also affected with same issue.
This is worked in Ubuntu 18.04 (bionic)
#fwupdmgr refresh
Fetching metadata https:/
Downloading… [******
Fetching signature https:/
The `fwupd` classic confined snap also works.
[Regression Potential]
Only affected fwupd in Ubuntu 16.04.
[Additional Info]
===
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
ii fwupd 0.8.3-0ubuntu4
#fwupdmgr refresh
failed to update metadata: Failed to parse XML: Mismatched XML
tags: | added: xenial |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-needed-done removed: verification-needed verification-needed-xenial |
tags: |
added: verification-done verification-done-xenial removed: verification-needed-done |
That message is coming from appstream-glib, somewhere around here: https:/ /github. com/hughsie/ appstream- glib/blob/ 843caabdeca6ae1 5f400f38536bc66 6340c30465/ libappstream- glib/as- store.c# L2329
I would recommend to start out with trying a newer appstream-glib to see if that helps.