[plug] setting up apt-get
dbuddrige at bigpond.com
Sat Jan 5 16:51:57 WST 2008
The computer called "main" [which has an ip of 192.168.0.50] has a
direct internet connection and is running squid so that other computers
on the network, including ross-desktop [my house-mates Ubuntu machine]
and "david-laptop" [my personal kubuntu machine] can get to the
I have copied the /etc/apt/apt.conf file from david-laptop to
ross-desktop in the hope that this would allow ross-desktop to also be
able to apt-get from the internet via squid running on main.
The /etc/apt/apt.conf on my laptop is thus:
root at david-laptop:/home/david# cat /etc/apt/apt.conf
// $Id: apt.conf,v 1.43 1999/12/06 02:19:38 jgg Exp $
/* This file is a sample configuration file with a few harmless sample
// Options for apt-get
// Options for the downloading routines
// Things that effect the APT dselect method
Clean "auto"; // always|auto|prompt|never
// Probably don't want to use force-downgrade..
root at david-laptop:/home/david#
This configuration works perfectly on david-laptop, but when the exact
same file is put onto ross-desktop at /etc/apt/apt.conf, with the only
adjustment being for http::Proxy which is set to Ross's
username/password [and the machine is restarted], I get the problems I
initially sent in the first email.
I am therefore trying to figure out what more I need to do to get it
working. Unfortunately it has been such a long time since I configured
david-laptop that I cannot recall any other things that I did to make it
On Sat, 2008-01-05 at 16:31 +0900, Nick Bannon wrote:
> 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 (22.214.171.124) 56(84) bytes of data.
> > 64 bytes from mirror.optusnet.com.au (126.96.36.199): 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:
> 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
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the plug