[Bug 983559] [NEW] apt-get install fails for binary download behind proxy

Blair Zajac blair at orcaware.com
Tue Apr 17 00:39:56 UTC 2012

Public bug reported:

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/apt.conf.d/99proxy 
Acquire::http::proxy "http://proxy:8080/";

But running this fails:

$ apt-get install flashplugin-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  ttf-mscorefonts-installer ttf-bitstream-vera ttf-dejavu ttf-xfree86-nonfree
The following NEW packages will be installed:
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://archive.ubuntu.com/ubuntu/ precise/multiverse flashplugin-installer amd64 [8,292 B]
Fetched 8,292 B in 0s (15.2 kB/s)                
Preconfiguring packages ...
Selecting previously unselected package flashplugin-installer.
(Reading database ... 255509 files and directories currently installed.)
Unpacking flashplugin-installer (from .../flashplugin-installer_11.2.202.233ubuntu1_amd64.deb) ...
Processing triggers for update-notifier-common ...
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.228.orig.tar.gz
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 234, in process_download_requests
    dest_file = urllib.urlretrieve(files[i])[0]
  File "/usr/lib/python2.7/urllib.py", line 93, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.7/urllib.py", line 239, in retrieve
    fp = self.open(url, data)
  File "/usr/lib/python2.7/urllib.py", line 207, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.7/urllib.py", line 344, in open_http
  File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
  File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
  File "/usr/lib/python2.7/httplib.py", line 776, in send
  File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
IOError: [Errno socket error] [Errno 110] Connection timed out
Setting up flashplugin-installer ( ...

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-installer
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
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)
SourcePackage: flashplugin-nonfree
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: flashplugin-nonfree (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: amd64 apport-bug precise

You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to flashplugin-nonfree in Ubuntu.

  apt-get install fails for binary download behind proxy

To manage notifications about this bug go to:

More information about the Ubuntu-mozillateam-bugs mailing list