菜鸟遇到ubuntu的疑难杂症

前端之家收集整理的这篇文章主要介绍了菜鸟遇到ubuntu的疑难杂症前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

命令如下:

sudo apt-get update

报错信息如下

>E: Problem executing scripts APT::Update::Post-Invoke-Successif /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

解决办法如下:
链接https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/comments/24

>cd /tmp && mkdir asfix
>cd asfix
>wget https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb
>wget https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb
>sudo dpkg -i *.deb
原文链接:https://www.f2er.com/ubuntu/350499.html

猜你在找的Ubuntu相关文章