Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!


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:// gutsy/universe debian-archive-keyring 2007.02.19-0.1
  404 Not Found
Err XXXX:// gutsy/universe debian-keyring 2005.05.28
  404 Not Found
Failed to fetch XXXX://  404 Not Found
Failed to fetch XXXX://  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.

share|improve this question
Which version of Ubuntu are you running? I see some references to gutsy in there, which is 7.10 - 4 years old! – Caesium Nov 28 '11 at 17:14
Caesium: You are right. And I will indeed upgrade since it seems to be simpler then solving this issue. And yet there should be a solution I think. – Yonatan Orlev Nov 28 '11 at 17:41
I think you may even struggle to update, since some of the intermediate versions between gutsy and oneiric will no longer be available from the repositories. There's a couple of Questions floating about on this issue too. My advice would be start over if you can ;) – Caesium Nov 28 '11 at 18:00
@Caesium The old versions should be available to get (using apt) at – Azendale Nov 28 '11 at 19:25
@Azendale: Does it means that if I change my sources list to I can install software from there? This is just a theoretical question though. I will fresh-install modern version. – Yonatan Orlev Nov 29 '11 at 11:11

To upgrade an End of Life release, look at the 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 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.

share|improve this answer
Thanks. I'll fresh-install a new copy. – Yonatan Orlev Nov 29 '11 at 11:14
@YonatanOrlev That will work too. – Azendale Dec 7 '11 at 19:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.