[Bug 1005837] Re: update-notifier-common

Torsten Hilbrich 1005837 at bugs.launchpad.net
Thu Nov 8 07:11:08 UTC 2012


This bug is still present in Ubuntu 12.10.

ii  update-notifier-common      0.126              all
Files shared between update-notifier and other packages

I get a daily error message that additional data files for flashplugin-
installer cannot be downloaded.

Reason for this bug is that the cronjob doesn't honour any system
settings for proxy server.

This can be fixed by changing /etc/cron.daily/update-notifier-common to:

#!/bin/sh

set -e

[ -x /usr/lib/update-notifier/package-data-downloader ] || exit 0

. /etc/environment
export http_proxy https_proxy

# Try to rerun any package data downloads that failed at package install time.
/usr/lib/update-notifier/package-data-downloader

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

Title:
  update-notifier-common

Status in “update-notifier” package in Ubuntu:
  Confirmed

Bug description:
  Does not understand proxy.

  Setting up update-notifier-common (0.119ubuntu8.2) ...
  flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.235.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
      h.endheaders(data)
    File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
      self._send_output(message_body)
    File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
      self.send(msg)

  wget works fine.

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




More information about the foundations-bugs mailing list