Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
来源:互联网 发布:fdm下载元数据中 编辑:程序博客网 时间:2024/06/07 06:24
错误:
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 appstreamcliwget -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.debsudo 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
阅读全文
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
- getHibernateTemplate()和getSession()区别
- int ,long , long long类型的范围
- [VC中对话框窗体背景透明而控件不透明]
- Java EasyCms 内容管理系统
- 2506-完美网络
- Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
- caffe(六)-------把原始图片数据转化为caffe能理解的数据
- iOS "此证书由未知颁发机构签名"此问题的解决方法
- 简单的menu与Toast的使用
- AES加解密在php接口请求过程中的应用
- yuda
- LeakCanary——直白的展现Android中的内存泄露
- 序列化与反序列化
- -Mastering KVM Virtualization-:第三章 搭建独立的KVM虚拟化