Hi Michael, On 5/8/06, Michael Vogt <mvo@debian.org> wrote:
> 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 [7]";; (example) > apt-get seems to work fine. I can't reproduce this behaviour here, what did your http_proxy environment variable look like?
My http_proxy is as follows: topa@XXXXX:~$ echo $http_proxy toufeeq_hussain:XXXXXX_123@192.168.127.34:80 This is the procedure I'm currently following to reproduce this bug. 1. mv /etc/apt/apt.conf /etc/apt/apt.conf.test 2. export http_proxy="http://toufeeq_hussain:password_123@192.168.101.1:80" 3. apt-get update 4. This results in : Errhttp://ftp.us.debian.org unstable Release.gpg Could not resolve 'ftp.us.debian.org' Ign http://ftp.us.debian.org unstable Release Ign http://ftp.us.debian.org unstable/main Packages Ign http://ftp.us.debian.org unstable/contrib Packages Ign http://ftp.us.debian.org unstable/non-free Packages Errhttp://ftp.us.debian.org unstable/main Packages Could not resolve 'ftp.us.debian.org' Errhttp://ftp.us.debian.org unstable/contrib Packages Could not resolve 'ftp.us.debian.org' Errhttp://ftp.us.debian.org unstable/non-free Packages Could not resolve 'ftp.us.debian.org' Failed to fetch http://ftp.us.debian.org/debian/dists/unstable/Release.gpg Could not resolve 'ftp.us.debian.org' Failed to fetch http://ftp.us.debian.org/debian/dists/unstable/main/binary-i386/Packages.gz Could not resolve 'ftp.us.debian.org' Failed to fetch http://ftp.us.debian.org/debian/dists/unstable/contrib/binary-i386/Packages.gz Could not resolve 'ftp.us.debian.org' Failed to fetch http://ftp.us.debian.org/debian/dists/unstable/non-free/binary-i386/Packages.gz Could not resolve 'ftp.us.debian.org' Reading package lists... Done E: Some index files failed to download, they have been ignored, or old ones used instead. 5. So, I revert my apt.conf to the normal self. 6. mv /etc/apt/apt.conf.test /etc/apt/apt.conf 7. And then apt-get works. topa@hostname:~$ sudo apt-get update Get: 1 http://ftp.us.debian.org unstable Release.gpg [189B] Hit http://ftp.us.debian.org unstable Release Hit http://ftp.us.debian.org unstable/main Packages Hit http://ftp.us.debian.org unstable/contrib Packages Hit http://ftp.us.debian.org unstable/non-free Packages Fetched 189B in 2s (66B/s) Reading package lists... Done Thanks. -Toufeeq -- blog @ http://toufeeq.blogspot.com