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

Bug#524325: marked as done (http_proxy overrides apt.conf)



Your message dated Sat, 20 Apr 2013 11:30:24 +0800
with message-id <87d2tp5167.fsf@gmail.com>
and subject line Re: Bug#524325: http_proxy overrides apt.conf
has caused the Debian Bug report #524325,
regarding http_proxy overrides apt.conf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
524325: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524325
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.7.14ubuntu6
Severity: wishlist

I have set the environment variable http_proxy for use with wget, lynx or 
other http retrieving utilities.
This overrides the settings in apt.conf making this configuration useless.
The only workaround is to unset http_proxy every time you invoke aptitude.

Can you change this behaviour?
The following options could solve this issue.

1. Make aptitude look for apt_http_proxy instead of http_proxy
   and include the value 'direct' for this variable to not use a proxy.
   
2. Include an option for apt.conf to let apt* ignore the http_proxy setting.
   
Thanks a lot
Hans Mueller

-- Package-specific info:

-- (no /etc/apt/preferences present) --

-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: lenny/sid
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-11-generic (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information


-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01



--- End Message ---
--- Begin Message ---
Version: 0.7.23

"Hans Müller" <hans1215@gmx.net> writes:
> Package: apt
> Version: 0.7.14ubuntu6
> Severity: wishlist
>
> I have set the environment variable http_proxy for use with wget, lynx or 
> other http retrieving utilities.
> This overrides the settings in apt.conf making this configuration useless.

With Acquire::http::Proxy or host-specific proxy set, current versions
prefer those.  Environment variable is only used if no apt.conf setting
applies.

> The only workaround is to unset http_proxy every time you invoke aptitude.
>
> Can you change this behaviour?
> The following options could solve this issue.
>
> 1. Make aptitude look for apt_http_proxy instead of http_proxy
>    and include the value 'direct' for this variable to not use a proxy.

apt_http_proxy would be redundant to apt.conf settings.

>
> 2. Include an option for apt.conf to let apt* ignore the http_proxy setting.

Yes, this is:

 Acquire::http::Proxy="DIRECT"


apt (0.7.23) unstable; urgency=low

  * methods/{http,https,ftp}, doc/apt.conf.5.xml:
    - Changed and unified the code that determines which proxy to use. Now
      'Acquire::{http,ftp}::Proxy[::<host>]' options have the highest priority,
      and '{http,ftp}_proxy' environment variables are used only if options
      mentioned above are not specified.
      (Closes: #445985, #157759, #320184, #365880, #479617)

--- End Message ---

Reply to: