flashplugin-installer fails to download adobe-flashplugin_11.2.202.310.orig.tar.gz

Bug #1240961 reported by Cristian Adam
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Adobe Flash Plugin Tools
Undecided
Unassigned

Bug Description

I have a Kubuntu 13.04 amd64 installation. The system has a http_proxy for network access.

Trying to install flashplugin-installer or kubuntu-restricted-extras will fail to download download adobe-flashplugin_11.2.202.310.orig.tar.gz

 $ sudo apt-get install flashplugin-installer
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Suggested packages:
   x-ttcidfont-conf ttf-mscorefonts-installer ttf-bitstream-vera ttf-dejavu ttf-xfree86-nonfree xfs
 The following NEW packages will be installed:
   flashplugin-installer
 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
 Need to get 0 B/6.986 B of archives.
 After this operation, 139 kB of additional disk space will be used.
 Preconfiguring packages ...
 Selecting previously unselected package flashplugin-installer.
 (Reading database ... 146360 files and directories currently installed.)
 Unpacking flashplugin-installer (from .../flashplugin-installer_11.2.202.310ubuntu0.13.04.1_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.310.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 94, in urlretrieve
     return _urlopener.retrieve(url, filename, reporthook, data)
   File "/usr/lib/python2.7/urllib.py", line 284, in retrieve
     "of %i bytes" % (read, size), result)
 ContentTooShortError: retrieval incomplete: got only 7731610 out of 14138952 bytes
 Setting up flashplugin-installer (11.2.202.310ubuntu0.13.04.1) ...

Note that wget can download the file, although it suffers from a connection reset, it can recover:

 $ wget http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.310.orig.tar.gz
 --2013-10-17 13:58:19-- http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.310.orig.tar.gz
 Connecting to 172.16.42.42:8080... connected.
 Proxy request sent, awaiting response... 200 OK
 Length: 14138952 (13M) [application/x-gzip]
 Saving to: 'adobe-flashplugin_11.2.202.310.orig.tar.gz'

 54% [===================================> ] 7.731.610 2,47MB/s in 3,0s

 2013-10-17 13:58:22 (2,47 MB/s) - Connection closed at byte 7731610. Retrying.

 --2013-10-17 13:58:23-- (try: 2) http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.310.orig.tar.gz
 Connecting to 172.16.42.42:8080... connected.
 Proxy request sent, awaiting response... 206 Partial Content
 Length: 14138952 (13M), 6407342 (6,1M) remaining [application/x-gzip]
 Saving to: 'adobe-flashplugin_11.2.202.310.orig.tar.gz'

 100%[++++++++++++++++++++++++++++++++++++=============================>] 14.138.952 2,43MB/s in 2,5s

 2013-10-17 13:58:26 (2,43 MB/s) - 'adobe-flashplugin_11.2.202.310.orig.tar.gz' saved [14138952/14138952]

The python script behind flashplugin-installer needs to have a similar behavior to wget.

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers