apt-get and proxy setting
Hello,
I am facing some problems in getting apt-get to retrieve files through
http proxy setting. I tried the following:
1. Set the environment variable as
export HTTP_PROXY="http://203.195.221.129:3128"
Still when I give apt-get update, I get messages telling that
connection is refused from the hosts (www.debian.org,
marillat.free.fr, et al.)
2. Created /etc/apt.conf as below:
APT {
Acquire {
http {
Proxy "http://203.195.221.129:3128";
};
};
};
Still the same result.
Browsing the docs threw up the second solution.
My question is how can I make apt-get to retrieve the files with the
above setting? FWIW, I am able to download files using wget by putting
the above setting in /etc/wgetrc.
Regards,
--
Sridhar M.A.
One man tells a falsehood, a hundred repeat it as true.
Reply to: