infoDSC
By:
infoDSC

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

December 23, 2014 13.5k views

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
1 Answer

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
Have another answer? Share your knowledge.