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

Bug#509317: apt: http_proxy overriding Acquire::http::Proxy* is problematic



Package: apt
Version: 0.7.19+b1
Severity: normal


Having the environment variable http_proxy is problematic when wants apt to use a different proxy configuration than other programs that use http_proxy.  For instance it is desirable to use an apt proxy to cache .debs but if one has http_prxy the apt proxy is ignored.  Also, if one wants to skip a proxy for some sources and not others (e.g. one has a partial mirror) then that is not possible if one has http_proxy set for the benefit of the many other consumers of http_proxy (like wget, lynx, bzr using http, and so on.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Unattended-Upgrade "0";
APT::Update "";
APT::Update::Post-Invoke-Success "";
APT::Update::Post-Invoke-Success:::: "touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";
APT::Archives "";
APT::Archives::MaxAge "30";
APT::Archives::MinAge "2";
APT::Archives::MaxSize "500";
APT::Keep-Recommends "false";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/apt-listbugs apt || exit 10";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
DPkg::Post-Invoke:: "if [ -x /usr/bin/rkhunter ] && ( ! grep -q -E '^DISABLE_TESTS=.*(hashes.*attributes|attributes.*hashes|properties)' /etc/rkhunter.conf || grep -q -E '^ENABLE_TESTS=.*(hashes|attributes|properties)' /etc/rkhunter.conf); then /usr/bin/rkhunter --propupd; fi";
DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then  touch /var/lib/update-notifier/dpkg-run-stamp; fi";
Unattended-Upgrade "";
Unattended-Upgrade::Allowed-Origins "";
Unattended-Upgrade::Allowed-Origins:: "Debian stable";
Acquire "";
Acquire::http "";
Acquire::http::Proxy "http://brennin:3142/";;
Acquire::http::Proxy::bugs.debian.org "http://naalstone:8118/";;
Acquire::http::Proxy::brennin "DIRECT";
Acquire::http::Proxy::brennin.fionavar.dd "DIRECT";
Acquire::http::Proxy::celidon "DIRECT";
Acquire::http::Proxy::celidon.fionavar.dd "DIRECT";
Acquire::http::Proxy::cshore.is-a-geek.com "DIRECT";

-- /etc/apt/preferences --

Package: * 
Pin: release c=non-free 
Pin-Priority: -1

Package: *
Pin: release a=lenny
Pin-Priority: 500

Package: *
Pin: release a=etch
Pin-Priority: 100

Package: *
Pin: release a=unstable
Pin-Priority: -1

Package: *
Pin: release a=sid
Pin-Priority: -1

Package: *
Pin: release a=experimental
Pin-Priority: -10

Package: qemu
Pin: version 0.8.2*
Pin-Priority: 500

Package: mono mono-common mono-jit mono-runtime libmono1.0-cil libmono2.0-cil libmono0
Pin: version 0*
Pin-Priority: 999

Package: *
Pin: release kernel-dists-sid
Pin-Priority: -1

Package: *
Pin: release o=Unofficial Multimedia Packages
Pin-Priority: -1

Package: kmymoney2 kmymoney2-common
Pin: version 0.9*
Pin-Priority: 500

Package: kmymoney2-plugin-aqbanking
Pin: version 0.9*
Pin-Priority: 500

Package: libaqbanking-data libaqbanking-plugins-libgwenhywfar47 libaqbanking20-plugins libaqbanking20-plugins-qt aqbanking-tools libaqhbci13 libqbanking6
Pin: version 3*
Pin-Priority: 500


-- /etc/apt/sources.list --

# 
# deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot i386 NETINST Binary-1 20080827-22:15]/ lenny main

#deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot i386 NETINST Binary-1 20080827-22:15]/ lenny main

#--- gulus.usherbrooke.ca

# deb http://gulus.usherbrooke.ca/debian lenny main
deb-src http://gulus.usherbrooke.ca/debian lenny main

# deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://gulus.usherbrooke.ca/debian/ experimental main contrib non-free
deb-src http://gulus.usherbrooke.ca/debian/ experimental main contrib non-free

deb http://gulus.usherbrooke.ca/debian/ lenny contrib non-free
deb-src http://gulus.usherbrooke.ca/debian/ lenny contrib non-free

deb http://security.debian.org/ lenny/updates contrib non-free
deb-src http://security.debian.org/ lenny/updates contrib non-free

deb http://gulus.usherbrooke.ca/debian/ sid main
deb-src http://gulus.usherbrooke.ca/debian/ sid main

deb http://gulus.usherbrooke.ca/debian/ sid contrib non-free
deb-src http://gulus.usherbrooke.ca/debian/ sid contrib non-free

#--- mirror.csclub.uwaterloo.ca

# deb http://mirror.csclub.uwaterloo.ca/debian lenny main
# deb-src http://mirror.csclub.uwaterloo.ca/debian lenny main

# deb http://security.debian.org/ lenny/updates main
# deb-src http://security.debian.org/ lenny/updates main

# deb http://mirror.csclub.uwaterloo.ca/debian/ experimental main contrib non-free
# deb-src http://mirror.csclub.uwaterloo.ca/debian/ experimental main contrib non-free

# deb http://mirror.csclub.uwaterloo.ca/debian/ lenny contrib non-free
# deb-src http://mirror.csclub.uwaterloo.ca/debian/ lenny contrib non-free

# deb http://security.debian.org/ lenny/updates contrib non-free
# deb-src http://security.debian.org/ lenny/updates contrib non-free

# deb http://mirror.csclub.uwaterloo.ca/debian/ sid main contrib non-free
# deb-src http://mirror.csclub.uwaterloo.ca/debian/ sid main contrib non-free

#--- debian.yorku.ca

# deb http://debian.yorku.ca/debian lenny main
# deb-src http://debian.yorku.ca/debian lenny main

# deb http://security.debian.org/ lenny/updates main
# deb-src http://security.debian.org/ lenny/updates main

#deb http://debian.yorku.ca/debian/ experimental main contrib non-free
# deb-src http://debian.yorku.ca/debian/ experimental main contrib non-free

# deb http://debian.yorku.ca/debian/ lenny contrib non-free
# deb-src http://debian.yorku.ca/debian/ lenny contrib non-free

# deb http://security.debian.org/ lenny/updates contrib non-free
# deb-src http://security.debian.org/ lenny/updates contrib non-free

# deb http://debian.yorku.ca/debian/ sid main
# deb-src http://debian.yorku.ca/debian/ sid main
# deb http://debian.yorku.ca/debian/ sid contrib non-free
# deb-src http://debian.yorku.ca/debian/ sid contrib non-free


#---local mirror
deb http://celidon:8080/debian lenny main
deb http://celidon:8080/debian-security lenny/updates main
deb http://celidon:8080/debian-volatile lenny/volatile main

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring   2008.04.16+nmu1 GnuPG archive keys of the Debian a
ii  libc6                    2.7-16          GNU C Library: Shared libraries
ii  libgcc1                  1:4.3.2-1       GCC support library
ii  libstdc++6               4.3.2-1         The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc               <none>             (no description available)
ii  aptitude              0.4.11.11-1~lenny1 terminal-based package manager
ii  bzip2                 1.0.5-1            high-quality block-sorting file co
ii  dpkg-dev              1.14.23            Debian package development tools
ii  gnome-apt             0.4.9-5            graphical package manager
ii  lzma                  4.43-14            Compression method of 7z format in
ii  python-apt            0.7.7.1+nmu1       Python interface to libapt-pkg
ii  synaptic              0.62.1             Graphical package manager

-- no debconf information



Reply to: