Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#66890 - [chromium] Malformed AppStream metadata file

Attached to Project: Arch Linux
Opened by Balló György (City-busz) - Thursday, 04 June 2020, 05:09 GMT
Last edited by Evangelos Foutras (foutrelis) - Friday, 05 June 2020, 02:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


appstream-generator fails to parse the metadata file with the following error:

Unable to parse AppStream metainfo file '/usr/share/metainfo/chromium.appdata.xml', the data is likely malformed.
Error: Could not parse XML data: Entity: line 2: parser error : XML declaration allowed only at the start of the document <?xml version="1.0" encoding="UTF-8"?> ^

So it seems that the first line must be removed or moved below theXML declaration:
<!-- Copyright 2017 The Chromium Authors -->
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Friday, 05 June 2020, 02:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  chromium 83.0.4103.97-2