Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-I
发布时间:2020-09-16 09:46:24 所属栏目:Ubuntu 来源:互联网
导读:http://www.cnblogs.com/EasonJim/p/7343892.html EasonJim Code, code and more code. Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success if /usr/bin/test -w /var/cache/app-info -a
|
http://www.cnblogs.com/EasonJim/p/7343892.html
EasonJimCode,code and more code.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'错误: Reading package lists... Done 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 在运行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就不会再出现上面的错误。 参考: https://askubuntu.com/questions/774986/appstreamcli-hanging-with-100-cpu-usage-during-update 分类: 服务器运维-[Linux/Ubuntu/CentOS/Windows] 标签: linux, ubuntu(编辑:东莞站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Ubuntu 下使用apt-get安装最新版本的MySQL
- 安装ubuntu14.04遇到网卡驱动不成功问题
- 如何在Ubuntu中安装navicat112_premium_cs_x64,并解决乱码的
- ubuntu14.04安装最新版本的wine
- ubuntu 解决libsqlite3-0依赖的问题(推荐)
- 【问题收录】Ubuntu14.04连接两个双显示器失败的解决方案
- Ubuntu系统清理软件Stacer最新发布
- Ubuntu上的Node.js MongoDB:列表中没有有效的种子服务器
- Ubuntu 16.04下安装Cuda 8.0, Anaconda 4.4.0和TensorFlow
- ubuntu16.04安装nodejs
