package-data-downloader utility does not honor apt http proxy settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I'm running 12.04 in an intranet where a proxy is required to get out. I set up apt-get with a proxy:
$ cat /etc/apt/
Acquire:
But running this fails:
$ apt-get install flashplugin-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
ttf-mscorefon
xfs
The following NEW packages will be installed:
flashplugin-
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 8,292 B of archives.
After this operation, 146 kB of additional disk space will be used.
Get:1 http://
Fetched 8,292 B in 0s (15.2 kB/s)
Preconfiguring packages ...
Selecting previously unselected package flashplugin-
(Reading database ... 255509 files and directories currently installed.)
Unpacking flashplugin-
Processing triggers for update-
flashplugin-
Traceback (most recent call last):
File "/usr/lib/
dest_file = urllib.
File "/usr/lib/
return _urlopener.
File "/usr/lib/
fp = self.open(url, data)
File "/usr/lib/
return getattr(self, name)(url)
File "/usr/lib/
h.endheader
File "/usr/lib/
self.
File "/usr/lib/
self.send(msg)
File "/usr/lib/
self.connect()
File "/usr/lib/
self.timeout, self.source_
File "/usr/lib/
raise err
IOError: [Errno socket error] [Errno 110] Connection timed out
Setting up flashplugin-
I never put http_proxy in my environment. So apt-get was able to download the .deb but not get the additional binary. Since this process runs inside the context of apt-get, it seems it should pick up the proxy setting.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: flashplugin-
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu4
Architecture: amd64
Date: Mon Apr 16 17:33:46 2012
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111103)
ProcEnviron:
TERM=xterm
SHELL=/bin/bash
LANG=en_US.UTF-8
SourcePackage: flashplugin-nonfree
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.