Ubuntu用sudo apt-get update出错:E: Problem executing scripts APT::Update::Post-Invoke-Success
Posted 折翼舞
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu用sudo apt-get update出错:E: Problem executing scripts APT::Update::Post-Invoke-Success相关的知识,希望对你有一定的参考价值。
Ubuntu用sudo apt-get update出错:
-
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
解决方法:
先remove libappstream3
-
sudo apt-get remove libappstream3
-
or
-
sudo apt remove libappstream3
sudo apt-get update
参考:
https://askubuntu.com/questions/942895/e-problem-executing-scripts-aptupdatepost-invoke-success
以上是关于Ubuntu用sudo apt-get update出错:E: Problem executing scripts APT::Update::Post-Invoke-Success的主要内容,如果未能解决你的问题,请参考以下文章
ubuntu18.04 sudo apt-get update出错
Ubuntu12.04下解决sudo apt-get update警告Duplicate sources.list entry
ubuntu14.04中sudo apt-get update很慢的解决方法
Ubuntu sudo apt-get update提示 Failed to fetch,解决办法
Ubuntu12.04下解决sudo apt-get update警告Duplicate sources.list entry