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

Bug#365880: apt-get fails with $http_proxy env var set correctly



Subject: apt-get update fails even when $http_proxy env var is set.
Package: apt
Version: 0.6.43.3
Severity: normal

*** Please type your report below this line ***
After upgrading the apt package in unstable, an apt-get update of my
existing repositories failed even after I had the http_proxy
environment variable set correctly.

However, after creating a /etc/apt/apt.conf file with the following line,
Acquire::http::Proxy "http://user:pass@10.0.0.1:80";;; (example)
apt-get seems to work fine.

Thanks.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
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";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
Acquire "";
Acquire::http "";
Acquire::http::Proxy "http://toufeeq_hussain:XXXXXXXX@192.168.127.34:80";;

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


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

deb http://ftp.us.debian.org/debian/ unstable main contrib non-free
#deb http://ftp.us.debian.org/debian/ testing main contrib non-free
# Ekiga
#deb http://snapshots.gnomemeeting.net/debian/ sid main
#deb http://snapshots.voxgratia.org/debian/ sid main

-- System Information:
Debian Release: testing/unstable
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)

Versions of packages apt depends on:
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.0-2  GCC support library
ii  libstdc++6                    4.1.0-2    The GNU Standard C++ Library v3

Versions of packages apt recommends:
pn  debian-archive-keyring        <none>     (no description available)

-- no debconf information

--
blog @ http://toufeeq.blogspot.com



Reply to: