apt update时提示如下问题:
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'
解决办法:
依次执行:
step1: sudo pkill -KILL appstreamcli
step2: wget -P /tmp https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.12.0-3ubuntu1_amd64.deb https://launchpad.net/ubuntu/+archive/primary/+files/libappstream-4_0.12.0-3ubuntu1_amd64.deb
step3:sudo dpkg -i /tmp/appstream_0.12.0-3ubuntu1_amd64.deb /tmp/libappstream-dev_0.12.0-3ubuntu1_amd64.deb
最后
以上就是甜蜜铅笔最近收集整理的关于Ubuntu18.04 apt update 出现Error的全部内容,更多相关Ubuntu18.04内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复