[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: aptitude upgrade through proxy



On Wed, Oct 24, 2007 at 08:51:44PM -0600, Javier Vasquez wrote:
> However I've tried the same environment variables with aptitude with
> no luck...  Looks like aptitude doesn't pay attention to them.  Does
> any one know how to overcome this?  Also, I liked the environment
> variables solution because it can be temporally enabled/disabled,
> without having to edit a config file everytime one wants to change...
> I've tried looking in the man page, but didn't find anything...

Try adding this to /etc/apt/apt.conf:

Acquire {
  // HTTP method configuration
  http {
    Proxy "http://<myproxy>:<port>";
  };
};

HTH.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036



Reply to: