Question

Ubuntu apt-get update error

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

How to fix this?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.

Run this command: <br> <br><pre>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192 <br></pre>

Thanks @kamaln7 you saved my day