分享

ubuntu下的若干问题

 beginnow1 2017-08-15

今天使用两台不同的机子ubuntu出现了相同的问题,解决花费了较长的时间,希望避免大家和我一样浪费时间,下面分享一下我的解决方法:
更新软件的源以及执行update的时候出现下面的错误:

Aborted (core dumped)  

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
  • 1
  • 2
  • 3
  • 4
  • 5
  • 1
  • 2
  • 3
  • 4
  • 5

解决方法:

sudo apt-get remove libappstream3
  • 1
  • 1

可能会出现丢失software center
接下来重新安装

sudo apt-get update                                                                                                                                                                         

sudo apt-get install --reinstall software-center software-center-aptdaemon-plugins
  • 1
  • 2
  • 3
  • 1
  • 2
  • 3

问题解决,如果期间还有什么问题,报什么错误,头痛医头脚痛医脚即可,主要的问题就这两个。

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多