Re: aptitude upgrade through proxy
- From: Daniel Burrows <dburrows@xxxxxxxxxx>
- Date: Thu, 25 Oct 2007 08:03:09 -0700
On Wed, Oct 24, 2007 at 08:51:44PM -0600, Javier Vasquez <jevv.cr@xxxxxxxxx> was heard to say:
I've used http_proxy/ftp_proxy to enable apt-get to download packages
through a proxy server whenever required.
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...
How are you running aptitude and apt-get (command-lines)? In particular,
are you running aptitude as a user and then automatically su-ing to root?
I wouldn't be 100% confident that this preserves environment variables.
Other than that, I'm not sure what could be happening: aptitude
doesn't clear out the environment, and the code that reads http_proxy is
used in both aptitude and apt-get.
Daniel
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: aptitude upgrade through proxy
- From: Javier Vasquez
- Re: aptitude upgrade through proxy
- References:
- aptitude upgrade through proxy
- From: Javier Vasquez
- aptitude upgrade through proxy
- Prev by Date: Re: mouse emulation with X
- Next by Date: Re: Can't Remove Files
- Previous by thread: Re: aptitude upgrade through proxy
- Next by thread: Re: aptitude upgrade through proxy
- Index(es):
Relevant Pages
|
|