Ubuntu
Ubuntu 16.04出现: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’
转自https://www.cnblogs.com/EasonJim/p/7343892.html,侵删。
错误
1 | Reading package lists... Done |
在运行sudo apt-get update时出现如上信息,解决方法如下:
1 | sudo pkill -KILL appstreamcli |
执行完上述命令之后再次运行sudo apt-get update就不会再出现上面的错误。
AppStream cache update completed, but some metadata was ignored due to errors.
转自https://blog.csdn.net/tang05709/article/details/53609234,侵删。
错误
更新Ubuntu时出现AppStream cache update completed, but some metadata was ignored due to errors.
解决方法
sudo rm /var/lib/dpkg/lock
开机时出现Host SMBus controller not enabled
提示
Host SMBus controller not enabled
解决办法
网上试了一些办法,在系统中禁止某些启动项是可以的。
1 |
|
以上做完之后应该就不会再出现了。