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:
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-flashplug in_11.2. 202.310. orig.tar. gz
$ sudo apt-get install flashplugin- installer -installer ttf-bitstream-vera ttf-dejavu ttf-xfree86-nonfree xfs installer installer. installer (from .../flashplugin -installer_ 11.2.202. 310ubuntu0. 13.04.1_ amd64.deb) ... notifier- common ... installer: downloading http:// archive. canonical. com/pool/ partner/ a/adobe- flashplugin/ adobe-flashplug in_11.2. 202.310. orig.tar. gz update- notifier/ package- data-downloader ", line 234, in process_ download_ requests urlretrieve( files[i] )[0] python2. 7/urllib. py", line 94, in urlretrieve retrieve( url, filename, reporthook, data) python2. 7/urllib. py", line 284, in retrieve Error: retrieval incomplete: got only 7731610 out of 14138952 bytes installer (11.2.202. 310ubuntu0. 13.04.1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
x-ttcidfont-conf ttf-mscorefonts
The following NEW packages will be installed:
flashplugin-
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-
(Reading database ... 146360 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/
"of %i bytes" % (read, size), result)
ContentTooShort
Setting up flashplugin-
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-flashplug in_11.2. 202.310. orig.tar. gz archive. canonical. com/pool/ partner/ a/adobe- flashplugin/ adobe-flashplug in_11.2. 202.310. orig.tar. gz 42.42:8080. .. connected. x-gzip] flashplugin_ 11.2.202. 310.orig. tar.gz’
--2013-10-17 13:58:19-- http://
Connecting to 172.16.
Proxy request sent, awaiting response... 200 OK
Length: 14138952 (13M) [application/
Saving to: ‘adobe-
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-flashplug in_11.2. 202.310. orig.tar. gz 42.42:8080. .. connected. x-gzip] flashplugin_ 11.2.202. 310.orig. tar.gz’
Connecting to 172.16.
Proxy request sent, awaiting response... 206 Partial Content
Length: 14138952 (13M), 6407342 (6,1M) remaining [application/
Saving to: ‘adobe-
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.