GS injects invalid metadata, causing "AppStream cache update completed, but some metadata was ignored"

Bug #1872258 reported by Matthias Klumpp
40
This bug affects 37 people
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Fix Released
High
Robert Ancell

Bug Description

Hi!
GNOME Software currently injects invalid AppStream metadata in Focal, causing a complaint message like "AppStream cache update completed, but some metadata was ignored due to errors." on every APT update.
This can be fixed by applying this patch from upstream and Debian, which was present in GNOME's release candidate but was accidentally reverted: https://salsa.debian.org/gnome-team/gnome-software/-/blob/05553c1bfa2124a12e3afe5c63de510310377036/debian/patches/02_fix-appstream-featured-data.patch

Debian already ships this patch.
Thanks for considering!

Tags: patch
Matthias Klumpp (ximion)
tags: added: patch
summary: - Injects invalid metadata, causing "AppStream cache update completed, but
- some metadata was ignored due to errors."
+ GS injects invalid metadata, causing "AppStream cache update completed,
+ but some metadata was ignored"
Changed in gnome-software (Ubuntu):
assignee: nobody → Robert Ancell (robert-ancell)
importance: Undecided → High
Changed in gnome-software (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.36.0-0ubuntu3

---------------
gnome-software (3.36.0-0ubuntu3) focal; urgency=medium

  * debian/patches/0026-Add-a-dialog-to-log-into-the-snap-store.patch:
    - Fix FTBFS on riscv64 where snap support is disabled

 -- Robert Ancell <email address hidden> Fri, 17 Apr 2020 10:03:17 +1200

Changed in gnome-software (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.