--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apt: http_proxy overriding Acquire::http::Proxy* is problematic
- From: Daniel Dickinson <cshore@fionavar.ca>
- Date: Sun, 21 Dec 2008 03:16:29 -0500
- Message-id: <20081221081629.24443.95543.reportbug@brennin.fionavar.dd>
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
--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.21~exp1
We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:
apt-doc_0.7.21~exp1_all.deb
to pool/main/a/apt/apt-doc_0.7.21~exp1_all.deb
apt-transport-https_0.7.21~exp1_i386.deb
to pool/main/a/apt/apt-transport-https_0.7.21~exp1_i386.deb
apt-utils_0.7.21~exp1_i386.deb
to pool/main/a/apt/apt-utils_0.7.21~exp1_i386.deb
apt_0.7.21~exp1.dsc
to pool/main/a/apt/apt_0.7.21~exp1.dsc
apt_0.7.21~exp1.tar.gz
to pool/main/a/apt/apt_0.7.21~exp1.tar.gz
apt_0.7.21~exp1_i386.deb
to pool/main/a/apt/apt_0.7.21~exp1_i386.deb
libapt-pkg-dev_0.7.21~exp1_i386.deb
to pool/main/a/apt/libapt-pkg-dev_0.7.21~exp1_i386.deb
libapt-pkg-doc_0.7.21~exp1_all.deb
to pool/main/a/apt/libapt-pkg-doc_0.7.21~exp1_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 157759@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 05 Jan 2009 20:56:52 +0100
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all i386
Version: 0.7.21~exp1
Distribution: experimental
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description:
apt - Advanced front-end for dpkg
apt-doc - Documentation for APT
apt-transport-https - APT https transport
apt-utils - APT utility programs
libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
libapt-pkg-doc - Documentation for APT development
Closes: 157759 320184 365880 445985 479617
Changes:
apt (0.7.21~exp1) experimental; urgency=low
.
[ Eugene V. Lyubimkin ]
* 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)
.
[ Michael Vogt ]
* apt-pkg/indexrecords.cc:
- fix some i18n issues
Checksums-Sha1:
52567ce8c037cfdd9531a1bdcee9a3fdf4a89333 1232 apt_0.7.21~exp1.dsc
eeb958f2ba2b66faf768f7fd376adaa0cff511c1 2047916 apt_0.7.21~exp1.tar.gz
10f372502fac1d099e1bb4d4703532202af8cbb7 101276 apt-doc_0.7.21~exp1_all.deb
a379a4c0c0b47c6d732192fb509dec750b3f3efa 125324 libapt-pkg-doc_0.7.21~exp1_all.deb
1f958a0e31ee870c43bbb2cacf5b76d0d6a0760e 1644906 apt_0.7.21~exp1_i386.deb
4da6c4f92537beebd4b7e0b10f0362cfec48ccb8 109938 libapt-pkg-dev_0.7.21~exp1_i386.deb
6be9e72051136773b60526d9ec482a52b0b1ec78 189234 apt-utils_0.7.21~exp1_i386.deb
496431db0ff6d764a361d30ce13d98b48864a8e7 59738 apt-transport-https_0.7.21~exp1_i386.deb
Checksums-Sha256:
9ac2eda5430200f27d512138d2d42ad6b3803881d630664a4843eb8c0238ea3f 1232 apt_0.7.21~exp1.dsc
514666ad0a5dd04fe3ab05bad7177c9b685a2e935de5e5e9b893951e768c4b33 2047916 apt_0.7.21~exp1.tar.gz
43aecc847460af0e72bd77cfd32594cb180af93577c37b843fe3446ac7313cbf 101276 apt-doc_0.7.21~exp1_all.deb
8828307649fb69ece0a6dfb8818489a257bc482a9c46d6b6ab16e8c55f21fe24 125324 libapt-pkg-doc_0.7.21~exp1_all.deb
03da96c756a00fea1acd6b2efb198855f5ed0bf4133433af210aeec7819006a3 1644906 apt_0.7.21~exp1_i386.deb
3b953966e4d258b1edb303c827ccfb6f45412a3ed937709eaedde1b458297afa 109938 libapt-pkg-dev_0.7.21~exp1_i386.deb
cc9470561dd5037db5ca4e2940b046dbd25689829c10559e27e5ef23384a48c6 189234 apt-utils_0.7.21~exp1_i386.deb
07f5b6cd900b9efeeb8f84efeb59c3ffabd60a62786f8de457c48351be20fdd9 59738 apt-transport-https_0.7.21~exp1_i386.deb
Files:
4aed6a0223e87a8407c12d269390ca63 1232 admin important apt_0.7.21~exp1.dsc
b690513da6b823fd99782457d7bbdd10 2047916 admin important apt_0.7.21~exp1.tar.gz
dc153eecef937a101eafdd52014dc8ad 101276 doc optional apt-doc_0.7.21~exp1_all.deb
72182f99e9e4f06db8fbe34e94969e82 125324 doc optional libapt-pkg-doc_0.7.21~exp1_all.deb
2e9ce64acbe03754758fb81c180cc1bd 1644906 admin important apt_0.7.21~exp1_i386.deb
3b3c7c6a02a83fd7baecf55182f5219b 109938 libdevel optional libapt-pkg-dev_0.7.21~exp1_i386.deb
ff719cbffe4b06934296af12c33a58a3 189234 admin important apt-utils_0.7.21~exp1_i386.deb
eebf3bfc1fee76355dc8e99a78f24fe4 59738 admin optional apt-transport-https_0.7.21~exp1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAklib3IACgkQliSD4VZixzQ5OwCfTIb6QfnkzFLp3UrYd52R3fUY
KtcAn0b3YiKAy8u9GvoYyTlEV5nPzCYT
=c2aT
-----END PGP SIGNATURE-----
--- End Message ---