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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/983559

Title:
  package-data-downloader utility does not honor apt http proxy settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/983559/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to