Question

apt-get update error : [W: Some index files failed to download. They have been ignored, or old ones used instead.]

  • Posted on December 23, 2014
  • infoDSCAsked by infoDSC

When ever i use apt-get update command , or install any module it always says “W: Some index files failed to download. They have been ignored, or old ones used instead.”

  1. I cant able to install MypHpadmin or any module
  2. is their any problem with source.list ? If yes , please provide me a valid source list
  3. Lots of error related to mirror, Failed to fetch http://mirrors.digitalocean.com

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.

mirrors.digitalocean.com seems to be working fine for me at the moment. Looks like this was probably just a temporary problem. If you’d rather replace the DigitalOcean provided mirrors with the main Ubuntu ones, running this command will update your sources.list:

sed -i 's/mirrors.digitalocean.com/archive.ubuntu.com/g' /etc/apt/sources.list