Report this

What is the reason for this report?

Ubuntu apt-get update error

Posted on August 16, 2013

Suddenly recently when i do apt-get update, it will end with this: Reading package lists… Error!

How to fix this?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Did you add any repositories manually?

Run <pre>sudo apt-get clean <br>sudo apt-get update</pre> <br> <br>Does that fix it? It should regenerate the files in /var/lib/apt/lists

I got this error when I installed chef-server on a 1GB server and it was eating up all of the memory on the box, leaving nothing for apt-get to work with. After I removed chef, all was well again. Chef starts up its own copy of nginx, and postresql, so it’s a huge memory hog.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.