Re: aptitude upgrade through proxy



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



Relevant Pages

  • Re: Packages temporarily disappearing from Testing/Lenny
    ... I use aptitude exclusively, and I've never managed to get it to pull ... in recommended packages. ... aptitude is not 'apt-get' but I'd hope much of the ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: System maintenance
    ... the command 'u' updates its package lists, 'U' then does the same as ... apt-get upgrade, except that it just decides which things to upgrade ... I use it only when aptitude is ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: aptitude --mind-your-own-business option?
    ... will be fine until the next time I decide to try aptitude. ... and apt-get has always seemed to work well enough. ... problem during major upgrades may/seems to be a reason, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: mixing syanptic and aptitude
    ... sudo apt-get build-dep texmacs ... and you can use aptitude in interactive ... I like synaptic's GUI much better than aptitude's ncurses interface. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: finally got lenny installed
    ... fact that the version of Debian they're running includes my implementation ... I meant the port of my code from aptitude to apt by ... autoremoval algorithms into libapt and designing the UI in apt-get. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)