[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#837765: appstream: Error when updating the apt metadata



2016-10-08 20:39 GMT+02:00 Ritesh Raj Sarraf <rrs@debian.org>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On Sat, 2016-10-08 at 19:50 +0200, Matthias Klumpp wrote:
>> This is actually a bug in fwupd, which ships invalid AppStream metadata.
>> Fwupd needs to apply this upstream patch to resolve this problem:
>> https://github.com/hughsie/fwupd/commit/5c628e295580e7405ab2990c0516a8ec432cf3
>> e2
>>
>
> Thanks for the update. But will appstream remain fragile as such, that any
> erratic data shipped by other packages, can hinder some aspect of appstream ?

AppStream will work, and does even work now - it will ust ignore that
one piece of metadata that was invalid. It will just exit with a > 0
exit status in case of such errors, triggering the warning you see
above.
I am reluctant to switch it off, since it will show users that there
is a problem somewhere and they are able to report a bug that we can
look into, instead of AppStream just silently ignoring metadata. Also,
it doesn't stop updating Apt from updating the cache, so in general I
consider that warning to be fine (would be awesome if we could attach
more information to it somehow though).
The only thing that is a problem is that the warning is pretty
annoying - but that's all the more reason to fix bugs in metadata ;-)

Cheers,
    Matthias

---
I welcome VSRE emails. See http://vsre.info/


Reply to: