Patch for this bug is attached. I included a change unrelated to this issue in the patch too, to make AppStream more robust against on-disk data corruption (or someone trying to DOS it by intentionally inserting broken data).
03_yaml-parser-errors.patch: Make the YAML parser deal with errors properly (reject the broken document) instead of running into an infinite loop if things go bad. 04_modern-metadata.patch: The fix for this bug. Unfortunately I couldn't just backport the upstream changes, since they contain bigger behavior and ABI changes, so this patch is only based on the upstream bits and needs proper testing. It adds support for modern AppStream metadata component types to the parser, making this warning disappear and having AS process all data again. ** Patch added: "appstream_0.9.4-1ubuntu2_LP1644498_v1.debdiff" https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1644498/+attachment/4783779/+files/appstream_0.9.4-1ubuntu2_LP1644498_v1.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1644498 Title: apt-get update returns "AppStream cache update completed, but some metadata was ignored due to errors." periodically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1644498/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs