[plug] apt-get through a proxy

Leon Brooks leonb at bounce.networx.net.au
Wed Nov 17 19:10:47 WST 1999


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/


More information about the plug mailing list