LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   apt-get 404 Not Found error (http://www.linuxquestions.org/questions/ubuntu-63/apt-get-404-not-found-error-457025/)

Steve Riley 06-21-2006 03:43 PM

apt-get 404 Not Found error
 
I'm trying to install ssh and I'm getting a 404 Not Found error.

Is this a problem with me or the repository? Is there some other way I can get the ssh package?

Thanks.

-----------------------------

apt-get install ssh

Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
openssh-server
Suggested packages:
rssh
The following NEW packages will be installed:
openssh-server ssh
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 237kB of archives.
After unpacking 643kB of additional disk space will be used.

Do you want to continue [Y/n]? Y

Err http://us.archive.ubuntu.com dapper/main openssh-server 1:4.2p1-7ubuntu3
404 Not Found [IP: 146.137.96.7 80]
Get:1 http://us.archive.ubuntu.com dapper/main ssh 1:4.2p1-7ubuntu3 [1052B]
Fetched 1052B in 0s (3754B/s)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/...ntu3_amd64.deb 404 Not Found [IP: 146.137.96.7 80]Failed to fetch http://us.archive.ubuntu.com/ubuntu/...buntu3_all.deb MD5Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

brianthegreat 06-21-2006 04:28 PM

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

There is the clue even though I have not experienced this problem before it seems that you need to run the command.

sudo apt-get update --fix-missing

---------------------

If that does not work then you can always change or update your source.list

Here is a website for generating a sources list.

http://www.ubuntulinux.nl/source-o-mati

Here is the command to open up your sources list.

sudo gedit /etc/apt/sources.list

-----------------------

If you use the website then you will probably need to import the GPG keys which is easy. These two commands will do so. Once you see the output place the keys in the commands below where it says KEY. So delete KEY and place the GPG code there. (Bunch of numbers.) Remember you will have to enter each GPG for both commands.

gpg --keyserver subkeys.pgp.net --recv KEY
gpg --export --armor KEY | sudo apt-key add -

Steve Riley 06-21-2006 04:51 PM

Thanks. I did the --fix-missing. It hangs for a long time on:

99% [Connecting to us.archive.ubuntu.com (146.137.96.15)]

Then gives a bunch of 404 errors.

My only guess is that the server is having trouble.

fragos 06-21-2006 06:31 PM

Quote:

Originally Posted by Steve Riley
Thanks. I did the --fix-missing. It hangs for a long time on:

99% [Connecting to us.archive.ubuntu.com (146.137.96.15)]

Then gives a bunch of 404 errors.

My only guess is that the server is having trouble.

I got the same message followed by a long wait and eventually another bash prompt.


All times are GMT -5. The time now is 05:19 AM.