Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
来源:互联网 发布:linux修改字符集编码 编辑:程序博客网 时间:2024/06/03 21:56
错误:
Reading package lists... DoneE: 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就不会再出现上面的错误。
阅读全文
0 0
- Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
- Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
- Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
- Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
- Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
- Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
- Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
- Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
- Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info
- ubuntu16.04出現:E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /va
- Ubuntu 16.04 (sudo apt-get update)出现:Problem executing scripts APT::Update::Post-Invoke-Success '
- Ubuntu用sudo apt-get update出错:E: Problem executing scripts APT::Update::Post-Invoke-Success
- (Linux Issue) E: Problem executing scripts APT::Update::Post-Invoke-Success [duplicate]
- Ubuntu 执行apt-get update时 Problem executing scripts APT::Update: 错误
- Ubuntu 16.04 出现E: Problem executing scripts E: Sub-process returned an error code处理办法
- Ubuntu apt-get update 失败 : Sub-process /usr/bin/dpkg returned an error code (1)
- problem with apt-get update ubuntu 11.10
- ubuntu的codelite中代码运行后出现/usr/bin/codelite_exec: 22: /usr/bin/codelite_exec
- 进程和线程
- 关于Ubuntu16.04下phpmyadmin出现mbstring错误的正解
- java并发编程--锁和并发的小总结
- 算法课程Leetcode作业第三周技术博客
- 记一次编写python爬虫遇到的问题
- Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
- 动态代理
- Android文件权限详解
- HMM
- xpath实例解析
- 上周挖的坑来填了
- C语言,10个值的降序排序
- Hadoop
- CountDownLatch