Ubuntu 16.04 出现 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’
查找了一下解决方法如下:
依次终端输入命令(有图):
#:sudo pkill -KILL appstreamcli
#:
wget -P /tmp https://launchpad.net/ubuntu/+archive/primary/+files