Question

Ubuntu 14.04: apt-get update "404 not found issue"

  • Posted on January 8, 2015
  • IkagaraAsked by Ikagara

I just created a new droplet and attempted to run sudo apt-get update as part of the LAMP tutorial and was hit with a bunch of 404 not found errors (see below). Is there an issue with the mirror currently?

root@EOTNS:~# sudo apt-get update
Ign http://security.ubuntu.com trusty-security InRelease
Hit http://security.ubuntu.com trusty-security Release.gpg
Hit http://security.ubuntu.com trusty-security Release
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Ign http://mirrors.digitalocean.com trusty InRelease
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Ign http://mirrors.digitalocean.com trusty-updates InRelease
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Ign http://mirrors.digitalocean.com trusty Release.gpg
Ign http://mirrors.digitalocean.com trusty-updates Release.gpg
Ign http://mirrors.digitalocean.com trusty Release
Ign http://mirrors.digitalocean.com trusty-updates Release
Err http://mirrors.digitalocean.com trusty/main Sources
  404  Not Found [IP: 192.241.164.26 80]
Err http://mirrors.digitalocean.com trusty/universe Sources
  404  Not Found [IP: 192.241.164.26 80]
Err http://mirrors.digitalocean.com trusty/main amd64 Packages
  404  Not Found [IP: 192.241.164.26 80]
Err http://mirrors.digitalocean.com trusty/universe amd64 Packages
  404  Not Found [IP: 192.241.164.26 80]
Err http://mirrors.digitalocean.com trusty/main i386 Packages
  404  Not Found [IP: 192.241.164.26 80]
Err http://mirrors.digitalocean.com trusty/universe i386 Packages
  404  Not Found [IP: 192.241.164.26 80]
Ign http://mirrors.digitalocean.com trusty/main Translation-en_US
Ign http://mirrors.digitalocean.com trusty/main Translation-en
Ign http://mirrors.digitalocean.com trusty/universe Translation-en_US
Ign http://mirrors.digitalocean.com trusty/universe Translation-en
Err http://mirrors.digitalocean.com trusty-updates/main Sources
  404  Not Found [IP: 192.241.164.26 80]
Err http://mirrors.digitalocean.com trusty-updates/universe Sources
  404  Not Found [IP: 192.241.164.26 80]
Err http://mirrors.digitalocean.com trusty-updates/main amd64 Packages
  404  Not Found [IP: 192.241.164.26 80]
Err http://mirrors.digitalocean.com trusty-updates/universe amd64 Packages
  404  Not Found [IP: 192.241.164.26 80]
Err http://mirrors.digitalocean.com trusty-updates/main i386 Packages
  404  Not Found [IP: 192.241.164.26 80]
Err http://mirrors.digitalocean.com trusty-updates/universe i386 Packages
  404  Not Found [IP: 192.241.164.26 80]
Ign http://mirrors.digitalocean.com trusty-updates/main Translation-en_US
Ign http://mirrors.digitalocean.com trusty-updates/main Translation-en
Ign http://mirrors.digitalocean.com trusty-updates/universe Translation-en_US
Ign http://mirrors.digitalocean.com trusty-updates/universe Translation-en
W: Failed to fetch http://mirrors.digitalocean.com/dists/trusty/main/source/Sources  404  Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/dists/trusty/universe/source/Sources  404  Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/dists/trusty/main/binary-amd64/Packages  404  Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/dists/trusty/universe/binary-amd64/Packages  404  Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/dists/trusty/main/binary-i386/Packages  404  Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/dists/trusty/universe/binary-i386/Packages  404  Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/dists/trusty-updates/main/source/Sources  404  Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/dists/trusty-updates/universe/source/Sources  404  Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/dists/trusty-updates/main/binary-amd64/Packages  404  Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/dists/trusty-updates/universe/binary-amd64/Packages  404  Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/dists/trusty-updates/main/binary-i386/Packages  404  Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/dists/trusty-updates/universe/binary-i386/Packages  404  Not Found [IP: 192.241.164.26 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@EOTNS:~#

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.

Support was able to help me get this resolved by having me run: rm -rf /var/lib/apt/lists/partial/*

Then running the update again.

Again:

Hit http://mirrors.digitalocean.com trusty/main Translation-en Err http://mirrors.digitalocean.com trusty-backports/main Sources

Err http://mirrors.digitalocean.com trusty-backports/restricted Sources Bad header line [IP: 95.85.0.50 80] Err http://mirrors.digitalocean.com trusty-backports/universe Sources Bad header line [IP: 95.85.0.50 80] Err http://mirrors.digitalocean.com trusty-backports/main Sources 0 Requested Range Not Satisfiable [IP: 95.85.0.50 80] Err http://mirrors.digitalocean.com trusty-backports/multiverse Sources 404 Not Found [IP: 95.85.0.50 80] Err http://mirrors.digitalocean.com trusty-backports/main i386 Packages Bad header line [IP: 95.85.0.50 80]

This comment has been deleted