Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /

Posted P_langen

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /相关的知识,希望对你有一定的参考价值。

在运行sudo apt-get update时出现如上信息,解决方法如下: sudo pkill -KILL appstreamcli wget -P /tmp https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb sudo dpkg -i /tmp/appstream_0.9.4-1ubuntu1_amd64.deb /tmp/libappstream3_0.9.4-1ubuntu1_amd64.deb 执行完上述命令之后再次运行sudo apt-get update就不会再出现上面的错误。 参考:http://www.cnblogs.com/EasonJim/p/7343892.html

以上是关于Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu 16.04错误:正在读取软件包列表... 有错误! E: Encountered a section with no Package: header E: Problem with Me

Ubuntu16.04系统的备份与还原

Ubuntu16.04+openVINO安装流程中出现的各种问题解决方法

Ubuntu16.04+openVINO安装流程中出现的各种问题解决方法

Ubuntu16.04安装OpenVINO™ toolk配置Model Optimizer出现错误

在 Ubuntu 16.04 上执行命令 sudo apt-get update 后出现以下错误