0

I Googled and Googled and I just cannot find a solution to this problem:

sudo apt-get install <whatever>

Gives me:

WARNING: The following packages cannot be authenticated!

and

Install these packages without verification [y/N]?

I cannot find a decent solution.

The closest I got was to run:

sudo apt-get install debian-keyring debian-archive-keyring

But then, even thought, and against my good judgment I agreed to install the package without confirmation, I get:

(I replaced http with XXXX because of forum limitations).

Install these packages without verification [y/N]? y
Err XXXX://il.archive.ubuntu.com gutsy/universe debian-archive-keyring 2007.02.19-0.1
  404 Not Found
Err XXXX://il.archive.ubuntu.com gutsy/universe debian-keyring 2005.05.28
  404 Not Found
Failed to fetch XXXX://il.archive.ubuntu.com/ubuntu/pool/universe/d/debian-archive-keyring/debian-archive-keyring_2007.02.19-0.1_all.deb  404 Not Found
Failed to fetch XXXX://il.archive.ubuntu.com/ubuntu/pool/universe/d/debian-keyring/debian-keyring_2005.05.28_all.deb  404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Trying to run apt-get update also does not help: I get tons of "404 Not Found" errors.

Can someone please direct me to a good solution to this problem?

I cannot understand why this issue is not better documented.

There must be a simple solution which allows me to update my list of sources or whatever.

1 Answers1

2

To upgrade an End of Life release, look at the https://help.ubuntu.com/community/EOLUpgrades page. From that page they have links to each version jump.

You are most likely getting the error you are because apt can no longer find package lists (which are missing because they are no longer on the server which is because you are on a EOL release.) All the packages for old releases have been moved to old-releases.ubuntu.com when they reached their end of official support from Canonical.

While you could probably change your /etc/apt/sources.list to using the old release servers, you should just upgrade (be it through all the steps or through backing up your data and reinstalling) so that you get the latest security fixes and better support.

Azendale
  • 12,021