Apt-get failed fecth archive (1.0.0.0)

Asked by jyk

Hi,

I just made a fresh install of ubuntu 7.10 amd64 on a DELL inspiron 1520.

Unfortunately, sudo apt-get update does not work.

The output is:

Failed to fetch http://archive.ubuntu.com/"whatever":80 (1.0.0.0)

I just notify that Firefox, host www.google.com, ping just work (after I have disabled ipv6 in /etc/modprobe.d/aliases).

Any need would be very welcome. This is a very annoying bug, because I cannot even install a single package.

Many thanks,
Jeremy.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
jyk
Solved:
Last query:
Last reply:
Revision history for this message
Albert Damen (albrt) said :
#1

This is a problem with DNS, which is solved with an update, see bug 156720. To be able to install this update, you will need to temporarily solve the DNS problem yourself, by putting the IP address for archive.ubuntu.com in your /etc/hosts file.

Open a terminal window and give the command sudo nano /etc/hosts
Then add this line in the file: 91.189.88.45 archive.ubuntu.com
Save the file with ctrl-O and exit with ctrl-X
Now you should be able to do a software update.
When the software update is completed, you should remove the line 91.189.88.45 archive.ubuntu.com again (using sudo nano /etc/hosts)

Revision history for this message
jyk (jykaminski) said :
#2

Thanks a lot! This worked like a charm and solved the problem.