Ubuntu 运行 sudo apt-get update
出现如下现象:
.
.
.
Aborted (core dumped)
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 > /dev/null; fi'
E: Sub-process returned an error code
解决办法:
终端输入:
sudo apt-get remove libappstream3