[null, null, null, null, null, null, null, null, null, null, null, null, null, null, {"document_url": "https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/", "unformatted_src": "https://smyl.es/wurdp/assets/Selection-1172x967-99-60x60.png", "src": "https://smyl.es/wurdp/assets/Selection-1172x967-99-60x60.png", "formatted_filename": "Selection", "alt_text": "Ubuntu End of Life Package Repository", "rendered_width": 60, "rendered_height": 60}, null, {"document_url": "https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/", "unformatted_src": "https://smyl.es/wurdp/assets/ajentiv-60x60.png", "src": "https://smyl.es/wurdp/assets/ajentiv-60x60.png", "formatted_filename": "ajentiv", "alt_text": "Ajenti V", "rendered_width": 60, "rendered_height": 60}, null, null, {"document_url": "https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/", "unformatted_src": "https://smyl.es/wurdp/assets/flash-drives.png", "src": "https://smyl.es/wurdp/assets/flash-drives.png", "formatted_filename": "flash drives", "alt_text": "Bunch of Flash Drives", "rendered_width": 45, "rendered_height": 60}, null, {"document_url": "https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/", "unformatted_src": "https://smyl.es/wurdp/assets/boxeebox_full.jpg", "src": "https://smyl.es/wurdp/assets/boxeebox_full.jpg", "formatted_filename": "boxeebox full", "alt_text": "D-Link Boxee Box", "rendered_width": 60, "rendered_height": 37}, null, {"document_url": "https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/", "unformatted_src": "https://smyl.es/wurdp/assets/g3open-e1350408485159.jpg", "src": "https://smyl.es/wurdp/assets/g3open-e1350408485159.jpg", "formatted_filename": "g open e", "rendered_width": 57, "rendered_height": 60}, null, {"document_url": "https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/", "unformatted_src": "https://smyl.es/wurdp/assets/Selection-1172x967-99-150x150.png", "src": "https://smyl.es/wurdp/assets/Selection-1172x967-99-150x150.png", "formatted_filename": "Selection", "alt_text": "Ubuntu End of Life Package Repository", "rendered_width": 150, "rendered_height": 150}, null, null, {"document_url": "https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/", "unformatted_src": "https://smyl.es/wurdp/assets/arduinojson-350x150.png", "src": "https://smyl.es/wurdp/assets/arduinojson-350x150.png", "formatted_filename": "arduinojson", "rendered_width": 350, "rendered_height": 150}, null, null, {"document_url": "https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/", "unformatted_src": "https://smyl.es/wurdp/assets/login_form-350x150.png", "src": "https://smyl.es/wurdp/assets/login_form-350x150.png", "formatted_filename": "login form", "alt_text": "WordPress Login Form wp-login.php", "rendered_width": 350, "rendered_height": 150}, null, null]


21 Jul , 2014 48 Comments Standard Post If you’re using a normal version of Ubuntu such as Saucy, Raring, Quantal, Oneiric, Natty, Maverick, etc, you may have already (and will eventually) start getting “Failed to fetch 404 Not Found” errors when trying to run  apt-get update , or even sometimes running apt-get install , but fear not, it is easy to fix, and here’s how…

Why am I getting this error?

Normal Ubuntu releases are supported for 9 months, whereas LTS (Long Term Support) releases are supported for 5 years.  Once support is up for the version of Ubuntu you are using the repository is moved to another server and will no longer be available on the standard   http://archive.ubuntu.com/ubuntu/dist/ location.

Ubuntu Release Details

The most simple solution would be to upgrade to a newer version:


BUT, for some of us that isn’t an option right now, or maybe you don’t want to upgrade.  With a simple sed command you can update the  /etc/apt/sources.list file to use the new location for the old package repository.

How can I fix it without upgrading?

Run this command below on your server and it will replace all of the  archive.ubuntu.com  and  security.ubuntu.com package repository URLs with  old-releases.ubuntu.com


For Linux Mint, run this command as well:


You may also want to see if there are other files in  /etc/apt/sources.list.d/  that need to be updated, which can be done with a simple grep command:


Now update apt-get sources:



Common 404 Errors
#404 #apt-get #archive.ubuntu.com #Err #install #lucid #maverick #natty #not found #oneiric #packages #quantal #raring #repository #saucy #Ubuntu #Update