码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu用sudo apt-get update出错:E: Problem executing scripts APT::Update::Post-Invoke-Success

时间:2018-08-05 18:35:00      阅读:473      评论:0      收藏:0      [点我收藏+]

标签:ESS   bsp   target   RoCE   tle   post   upd   get   art   

 

Ubuntu用sudo apt-get update出错:

 

  1.  
    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‘
  2.  
    E: Sub-process returned an error code

解决方法:

 

先remove libappstream3

  1.  
    sudo apt-get remove libappstream3
  2.  
    or
  3.  
    sudo apt remove libappstream3
再进行update

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

标签:ESS   bsp   target   RoCE   tle   post   upd   get   art   

原文地址:https://www.cnblogs.com/JIKes/p/9426635.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!