Fix apt-get 404 Not Found Package Errors

3 September 2015

Posting ini copas dari https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/

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  aptget update , or even sometimes running aptget 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:

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  oldreleases.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:

Profit!

Tidak ada Komentar

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

This site uses Akismet to reduce spam. Learn how your comment data is processed.