How can I get apt to use a proxy?
Frank Merenda
fmerenda at yahoo.com
Sun Sep 26 18:34:38 UTC 2004
Matt Zimmerman <mdz <at> canonical.com> writes:
>
> You might try passing http_proxy=http://yourproxy:3128 from the boot prompt
> (untested).
At my last job we went through a proxy via this method. The only difference is
that we exported our proxy settings first:
1 - export your proxy settings:
export http_proxy=http://yourproxy:3128
2 - run apt commands as needed, i.e.
apt-get update && apt-get upgrade
We didn't use squid, but we used a http proxy, and this method worked well.
-Frank
More information about the ubuntu-users
mailing list