*** This bug is a duplicate of bug 1579712 ***
    https://bugs.launchpad.net/bugs/1579712

can confirm that purging appstream and then rerunning apt update fixed the 
issue.
version affected: appstream 0.9.4-1

@ #4 - Jacob
I had the same problem, I fixed with the following:

$ ps ax | grep appstream

find what the applications' process id is
usually about 5 numbers long

# use sudo if not root
$ kill -9 <Application Process ID>

this should bring your cpu back to normal
then:

$ sudo apt purge appstream

then clean up your system with:
$ sudo apt autoremove

if you canceled in the middle of the install and it's asking you to run 'sudo 
dpkg --configure -a'
run the command but once it get stuck on appstream kill it as shown above. dpkg 
will still complete after you've killed appstream. then purge appstream.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1583829

Title:
  aptitude update -> appstreamcli uses 100% cpu

Status in appstream package in Ubuntu:
  Confirmed

Bug description:
  I started aptitude and hit "u" to update package list. It stuck on
  "Loading cache" screen. I checked processes tree and found out
  aptitude was waiting for /usr/bin/appstreamcli which used 100% CPU and
  did nothing.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: appstream 0.9.4-1
  Uname: Linux 4.6.0-040600-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri May 20 01:52:53 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2016-05-01 (18 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  SourcePackage: appstream
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583829/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to