This question already has an answer here:
Yesterday, I noticed that whenever I run the command
apt-get update, everything seems to work until the last step.
I get the usual output:
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease Ign:2 http://linux.dropbox.com/ubuntu xenial InRelease Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease Ign:4 http://linux.dropbox.com/ubuntu wily InRelease Hit:5 http://archive.canonical.com/ubuntu xenial InRelease Hit:6 http://apt.insynchq.com/ubuntu xenial InRelease Hit:7 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InRelease Hit:8 http://archive.ubuntu.com/ubuntu xenial-backports InRelease Get:9 http://linux.dropbox.com/ubuntu xenial Release [6,600 B] ...
However, towards the end and after I get:
Fetched X kB in Ys (69.7 kB/s)
There is a long delay after which I get
Error: Timeout was reached Reading package lists... Done
What is causing this? How can I fix this issue?
Distributor ID: Ubuntu Description: Ubuntu 16.04 LTS Release: 16.04 Codename: xenial