码迷,mamicode.com
首页 > 移动开发 > 详细

Ubuntu16.04 appstreamcli错误

时间:2018-01-10 17:04:25      阅读:1317      评论:0      收藏:0      [点我收藏+]

标签:9.4   files   uri   nbsp   ons   com   prim   class   lib   

解决方案: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错误

标签:9.4   files   uri   nbsp   ons   com   prim   class   lib   

原文地址:https://www.cnblogs.com/gaoze/p/8259100.html

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