1

I upgraded to 16.04 from 15.10 today. Now I can no longer perform software updates. Running sudo apt-get update results in the following:

Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease                     
Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease                
Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease              
Fetched 94.5 kB in 1s (83.7 kB/s)  

and it just sits there. I left it like this for 4 hours.

Top shows that after running the command, appstreamcli goes to 100% cpu and stays there.

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                       
6741 root     20   0  120556  37456   9340 R  99.7  0.5   1:22.71 appstreamcli    

Looks like I may not be the only one experiencing this...

marked as duplicate by Rmano, Braiam, jokerdino May 20 '16 at 14:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • There seems to be a bug that is affecting newly installed or upgraded systems but not older 16.04 installs. I have the problem on an install I did yesterday but not on 2 from a couple of weeks ago. Find the bug on launchpad (linked in one of the other quesions) and mark as Affects Me Too – chaskes May 20 '16 at 2:58
  • Thanks to both of you. I'm seeing the same issue on another machine (upgraded weeks ago) that was working fine yesterday. So strange. Will definitely flag the bug as affects me too. – Boringgeek May 20 '16 at 3:13
  • Here is the bug report: bugs.launchpad.net/ubuntu/+source/apt/+bug/1583862 – edwinksl May 20 '16 at 3:14
  • As a workaround, disabling the "unsupported updates (xenial-backports)" as a source in seems to work for me. – Boringgeek May 20 '16 at 5:55