更新时元数据和appstream错误

我作为root更新时收到错误。 在更新日志之后,终端显示错误。

AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi' E: Sub-process returned an error code 

我按照这个答案执行了sudo apt install appstream/xenial-backports

我的appstream包已经更新: –

 $ appstreamcli --version AppStream CLI tool version: 0.10.6 

之后,强制刷新缓存数据。 我收到以下错误: –

 $ sudo appstreamcli refresh --force AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml 

在元数据错误输出中提到的文件/var/cache/app-info/xmls/fwupd.xml第265行中似乎存在xml错误。

Firmware_SF30&SN30更改为Firmware_SF30&SN30