Ubuntu16.04 appstreamcli错误

Posted 月影舞华

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu16.04 appstreamcli错误相关的知识,希望对你有一定的参考价值。

解决方案:https://askubuntu.com/questions/774986/appstreamcli-hanging-with-100-cpu-usage-during-update

搬运过来是:

This is caused by a bug https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712
The working solution (just tried myself):

First kill appstreamcli, either manually or with

sudo kill -KILL $(pgrep appstreamcli)

or

sudo pkill -KILL appstreamcli

Then:

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

After this you will be able to proceed with apt-get update as usual


以上是关于Ubuntu16.04 appstreamcli错误的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /

ubuntu16.04 pip install scrapy 报错处理

Ubuntu 16.04安装QtCharts时报错:'qtConfig' is not a recognized test function.

ubuntu16.04安装pycharm

Ubuntu16.04系统重装

Ubuntu 16.04配置OpenGL教程