我得到一个错误,而更新作为一个根。更新日志后,终端中显示错误。
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发布于 2018-08-22 06:32:14
在元数据错误输出中提到的文件/var/cache/app-info/xmls/fwupd.xml的第265行中似乎有一个xml错误。
将Firmware_SF30&SN30更改为Firmware_SF30&SN30
https://askubuntu.com/questions/1061550
复制相似问题