How can I get apt to use a proxy?
messmate at free.fr
Sun Sep 26 19:38:10 UTC 2004
On Sun, 26 Sep 2004 18:34:38 +0000 (UTC)
Frank Merenda <fmerenda at yahoo.com> wrote:
>Matt Zimmerman <mdz <at> canonical.com> writes:
>> You might try passing http_proxy=http://yourproxy:3128 from the boot
>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:
>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
i've setted it in /etc/apt/apt.cong !
Change xx.xx.xx.xx to the IP of your proxy.
More information about the ubuntu-users