[plug] setting up apt-get

Nick Bannon nick at ucc.gu.uwa.edu.au
Sat Jan 5 16:31:56 WST 2008


On Sat, Jan 05, 2008 at 01:26:40PM +0800, David Buddrige wrote:
[...]
> root at ross-desktop:~# apt-get update
> Err http://security.ubuntu.com dapper-security Release.gpg
>   Temporary failure resolving 'security.ubuntu.com'
> Err http://au.archive.ubuntu.com dapper Release.gpg
>   Temporary failure resolving 'au.archive.ubuntu.com'
[...]
> I can ping these websites as follows:
> [david at main ~]$ ping au.archive.ubuntu.com
> PING mirror.optus.net (211.29.132.173) 56(84) bytes of data.
> 64 bytes from mirror.optusnet.com.au (211.29.132.173): icmp_seq=0 ttl=55 time=216 ms

If you have a line in sources.list:
deb http://au.archive.ubuntu.com/ubuntu/ dapper main

...then apt-get tries to download:
http://au.archive.ubuntu.com/ubuntu/dists/dapper/Release.gpg

It says that it can't resolve the hostname, which might mean the network
or the DNS isn't working. Are you sure you can ping those sites? You're
pinging from a machine called "main" and apt-get'ing from a machine called
"ross-desktop".

Does another tool, such as wget/firefox/curl/links/lynx/
telnet hostname 80/netcat/... work? Is a web proxy required? e.g.:
wget http://au.archive.ubuntu.com/ubuntu/dists/dapper/Release.gpg

Nick.

-- 
   Nick Bannon   | "I made this letter longer than usual because
nick-sig at rcpt.to | I lack the time to make it shorter." - Pascal




More information about the plug mailing list