@antonio-rojas
Copy link
Contributor

After updating to 0.12.3 I noticed that 'appstreamcli search' no longer worked, it only returned "Some components are invalid. See debug output for details". The debug output showed the line "WARNING: Ignored component 'org.kde.choqok.desktop': The component is invalid.". And indeed after uninstalling choqok 'appstreamcli search' started working again without touching the appstream index.
I find it surprising that simply installing a package with invalid metadata can break appstream system-wide, when the appstream index itself is correct. It should simply ignore the invalid file (as the debug log says, by the way)

I've bisected it to 5161c4b