[SRU] appstream-glib can't handle em or code tags, breaking Flathub
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
appstream-glib (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Committed
|
High
|
Jeremy Bícha | ||
Jammy |
Fix Released
|
High
|
Jeremy Bícha |
Bug Description
[ Impact ]
* Currently, any application that is using modern AppStream metadata containing <em>/<code> tags in their description, and that is still using the deprecated appstream-glib will fail to parse this data.
* Unfortunately, this affects some high-visibility applications now, like Flatpak, which are unable to perform proper searches. See https:/
* This kind of issue may potentially affect more tools as well.
[ Test Plan ]
1. Open a terminal and run
sudo apt install flatpak
2. Then run
flatpak remote-add --if-not-exists flathub https:/
3. Run
flatpak search meld
The broken output may look something like:
F: Failed to parse /var/lib/
Organic Maps is a free Android & iOS offline maps app for travelers,
tourists, hikers, and cyclists.
It uses crowd-sourced OpenStreetMap data and is developed with love by
' and tried to replace with ' ('
No matches found
4. Install the updated appstream-glib packages.
5. Restart your computer then log back in.
6. Open a terminal and run
flatpak search meld
The working output looks something like
Name Description Application ID Version Branch Remotes
Meld Compare and merge your files org.gnome.meld 3.22.0 stable flathub
[ Where problems could occur ]
* The reverse-
flatpak-tests
unity
libmalcontent
libappstream-
gir1.
appstream-util
flatpak
* Flatpak should continue to work, and there should be no new errors in GNOME/Unity.
[ Other Info ]
* None. Updating this should mainly help Flatpak users and should have no ill effects on any other component of the OS.
* This issue was fixed upstream in appstream-glib 0.8.1 which is available in Ubuntu 22.10 and newer releases.
description: | updated |
description: | updated |
Changed in appstream-glib (Ubuntu): | |
status: | New → Fix Released |
Changed in appstream-glib (Ubuntu Jammy): | |
importance: | Undecided → High |
Changed in appstream-glib (Ubuntu): | |
importance: | Undecided → High |
Changed in appstream-glib (Ubuntu Jammy): | |
status: | New → In Progress |
assignee: | nobody → Jeremy Bícha (jbicha) |
Changed in appstream-glib (Ubuntu Focal): | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Jeremy Bícha (jbicha) |
description: | updated |
I think this should probably be fixed in SRUs together with bug 2006110 and verified together. See my comment 6 there for further comment.