LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 06-21-2006, 03:43 PM   #1
Steve Riley
Member
 
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Rep: Reputation: 15
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?
 
Old 06-21-2006, 04:28 PM   #2
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
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 -
 
Old 06-21-2006, 04:51 PM   #3
Steve Riley
Member
 
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Original Poster
Rep: Reputation: 15
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.
 
Old 06-21-2006, 06:31 PM   #4
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible Apache exploit / 404 NOT FOUND rioguia Linux - Security 5 01-03-2006 03:07 PM
why is apache giving me a 404 error linuxmandrake Linux - Software 4 06-17-2005 09:16 AM
wget 404 error BarryM45 Linux - General 2 10-12-2004 05:12 AM
404 page not found Darthomir General 2 03-30-2004 09:29 PM
(404)error johncla Linux - Networking 1 03-25-2001 06:09 PM


All times are GMT -5. The time now is 09:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration