For the record, I don't get a "connection timed out" or any other kind of error message -- if I interrupt the downloader with ctrl-c I get this traceback:
$ sudo -i /usr/lib/update-notifier/package-data-downloader
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.235.orig.tar.gz
^CTraceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 296, in <module>
process_download_requests()
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 267, in retrieve
block = fp.read(bs)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
KeyboardInterrupt
Sometimes the traceback only goes as far as 'block = fp.read(bs)'.
Before I interrupt the downloader, I can observe the temporary downloaded file growing in /tmp/ until it reaches the full expected size. Then nothing happens. The downloader doesn't appear to detect that the download was successful. I'm assuming that this is some kind of problem in urllib.
For the record, I don't get a "connection timed out" or any other kind of error message -- if I interrupt the downloader with ctrl-c I get this traceback:
$ sudo -i /usr/lib/ update- notifier/ package- data-downloader installer: downloading http:// archive. canonical. com/pool/ partner/ a/adobe- flashplugin/ adobe-flashplug in_11.2. 202.235. orig.tar. gz update- notifier/ package- data-downloader ", line 296, in <module> download_ requests( ) update- notifier/ package- data-downloader ", line 234, in process_ download_ requests urlretrieve( files[i] )[0] python2. 7/urllib. py", line 93, in urlretrieve retrieve( url, filename, reporthook, data) python2. 7/urllib. py", line 267, in retrieve python2. 7/socket. py", line 380, in read recv(left)
flashplugin-
^CTraceback (most recent call last):
File "/usr/lib/
process_
File "/usr/lib/
dest_file = urllib.
File "/usr/lib/
return _urlopener.
File "/usr/lib/
block = fp.read(bs)
File "/usr/lib/
data = self._sock.
KeyboardInterrupt
Sometimes the traceback only goes as far as 'block = fp.read(bs)'.
Before I interrupt the downloader, I can observe the temporary downloaded file growing in /tmp/ until it reaches the full expected size. Then nothing happens. The downloader doesn't appear to detect that the download was successful. I'm assuming that this is some kind of problem in urllib.