[plug] apt-get through a proxy
Andrew Howell
andrew at belzedar.leederville.it.net.au
Mon Nov 29 09:58:10 WST 1999
On Wed, Nov 17, 1999 at 07:10:47PM +0800, Leon Brooks wrote:
> Steve Grasso wrote:
> > I've had a read of man and info, and searched debian mailing list archives, but
> > can find no reference to configuring apt-get for use through a proxy firewall.
> > I'm sitting behind a fairly solid one here and am getting sick of fixing file
> > dependencies by hand. Any ideas?
>
> Try...
>
> export http_proxy=http://name.of.proxy:port/
> export ftp_proxy=http://name.of.proxy:port/
>
> ..then running apt-get. Yes, it _is_ in lower case! If this fails,
> type...
>
> strings <$(which apt-get) | less
>
> ..and look for the word "proxy" (try typing -i/proxy<enter> into less).
>
> For an example of the above, to get HTTP access from within Floreat
> CSIRO (with Lynx or wget) I use...
>
> export http_proxy=http://proxy.floreat.csiro.au:8080/
or try editing /etc/apt/apt.conf
There is an example in /usr/doc/apt/examples or read the apt.conf man page.
Andrew
--
Andrew Howell
Managing Director
Informed Technology
E-mail: andrew at it.net.au
Ph: 08 9380 4244 Fax: 08 9380 4354
More information about the plug
mailing list