Cameron Hutchison <[EMAIL PROTECTED]> [2002-10-01 17:25:40 +1000]:
> > But what about apt-get?! This one I really need.
> 
> Set the environment variables: http_proxy and/or ftp_proxy.
> 
> eg.
> $ export http_proxy=http://some.proxy:8080/
> $ apt-get update

You can also put that information in /etc/apt/apt.conf:

  Acquire::http::Proxy "http://some.proxy.domain:8080/";;
  Acquire::http::Proxy::some.host.domain DIRECT;

I always do the apt.conf approach since it does not rely upon me
having logged in as any particular user to get the environment
variable set.

Bob

Attachment: msg04618/pgp00000.pgp
Description: PGP signature

Reply via email to