Vin*_*ain 2 updates package-management apt 16.04 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
Run Code Online (Sandbox Code Playgroud)
我按照这个答案并执行了sudo apt install appstream/xenial-backports.
我的appstream包裹已经更新:-
$ appstreamcli --version
AppStream CLI tool version: 0.10.6
Run Code Online (Sandbox Code Playgroud)
之后,强制刷新缓存数据。我收到以下错误:-
$ sudo appstreamcli refresh --force
AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml
Run Code Online (Sandbox Code Playgroud)
小智 6
/var/cache/app-info/xmls/fwupd.xml元数据错误输出中提到的文件的第 265 行似乎存在 xml 错误。
更改Firmware_SF30&SN30为Firmware_SF30&SN30
| 归档时间: |
|
| 查看次数: |
1423 次 |
| 最近记录: |