Public bug reported: I use lubuntu 16.04. $ uname -a Linux ubuntu 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ dpkg -l |grep apt ii apt 1.2.10ubuntu1 amd64 commandline package manager When I set "http_proxy" environment var and run "apt-get update", I get many "connection failed" Err:16 http://archive.ubuntu.com/ubuntu xenial/main Sources Connection failed Err:17 http://archive.ubuntu.com/ubuntu xenial/restricted Sources Connection failed Err:18 http://archive.ubuntu.com/ubuntu xenial/universe Sources Connection failed Err:19 http://archive.ubuntu.com/ubuntu xenial/multiverse Sources Connection failed Err:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages Connection failed Err:21 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages Connection failed But I can use curl and wget to fetch website homepage. And in centos7, yum can work with 'http_proxy', I can update my centos7. ** Affects: apt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1613193 Title: apt-get does't work with http_proxy Status in apt package in Ubuntu: New Bug description: I use lubuntu 16.04. $ uname -a Linux ubuntu 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux $ dpkg -l |grep apt ii apt 1.2.10ubuntu1 amd64 commandline package manager When I set "http_proxy" environment var and run "apt-get update", I get many "connection failed" Err:16 http://archive.ubuntu.com/ubuntu xenial/main Sources Connection failed Err:17 http://archive.ubuntu.com/ubuntu xenial/restricted Sources Connection failed Err:18 http://archive.ubuntu.com/ubuntu xenial/universe Sources Connection failed Err:19 http://archive.ubuntu.com/ubuntu xenial/multiverse Sources Connection failed Err:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages Connection failed Err:21 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages Connection failed But I can use curl and wget to fetch website homepage. And in centos7, yum can work with 'http_proxy', I can update my centos7. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1613193/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp