Activity log for bug #446552

Date Who What changed Old value New value Message
2009-10-08 18:12:17 Daniel Potter bug added bug
2009-10-13 14:54:10 Michael Vogt update-manager (Ubuntu): status New Confirmed
2009-10-13 14:54:13 Michael Vogt update-manager (Ubuntu): importance Undecided High
2009-10-26 09:11:47 Mikael Davranche removed subscriber Mikael Davranche
2009-10-30 08:20:39 Michael Vogt nominated for series Ubuntu Jaunty
2009-10-30 08:20:39 Michael Vogt bug task added update-manager (Ubuntu Jaunty)
2009-10-30 08:20:39 Michael Vogt nominated for series Ubuntu Karmic
2009-10-30 08:20:39 Michael Vogt bug task added update-manager (Ubuntu Karmic)
2009-10-30 08:20:39 Michael Vogt nominated for series Ubuntu Lucid
2009-10-30 08:20:39 Michael Vogt bug task added update-manager (Ubuntu Lucid)
2009-10-30 11:06:08 Launchpad Janitor branch linked lp:~ubuntu-core-dev/update-manager/jaunty
2009-10-30 11:14:39 Michael Vogt update-manager (Ubuntu Jaunty): status New In Progress
2009-10-30 11:14:44 Michael Vogt update-manager (Ubuntu Karmic): status New Confirmed
2009-10-30 11:14:51 Michael Vogt update-manager (Ubuntu Karmic): importance Undecided High
2009-10-30 11:14:59 Michael Vogt update-manager (Ubuntu Jaunty): importance Undecided High
2009-10-30 11:18:19 Michael Vogt description Binary package hint: update-manager When updating to 9.10 from from 9.04, the update-manager uses a utility function called "UpdateManager.Core.utils.url_downloadable". This function skips urllib2 - which is properly configured to use the proxy settings - and instead directly interacts with httplib, which requires the caller to properly set up the request in order to use the proxy. Changing the url_downloadable function to use the proxy resolves the issue. Specifically, I after: if scheme == "http": import httplib try: I added: proxy = os.getenv('http_proxy') if (proxy): path = scheme + netloc + path netloc = proxy This resolved the problem. This, however, isn't really a fix - it relies on the fact that init_proxy sets the http_proxy environment variable and ignores anything else that might set up urllib2 to properly use a proxy server. Binary package hint: update-manager TEST CASE: 1. define a proxy server somewhere (gconf, apt.conf, synaptic) 2.use iptables to disallow access to port 80 3. run update-manager and click on the "upgrade" button 4. verify that the upgrade hangs 4. install update-manager from jaunty-proposed 5. repeat step 3 6. verify that it now continues When updating to 9.10 from from 9.04, the update-manager uses a utility function called "UpdateManager.Core.utils.url_downloadable". This function skips urllib2 - which is properly configured to use the proxy settings - and instead directly interacts with httplib, which requires the caller to properly set up the request in order to use the proxy. Changing the url_downloadable function to use the proxy resolves the issue. Specifically, I after:   if scheme == "http":     import httplib     try: I added:       proxy = os.getenv('http_proxy')       if (proxy):         path = scheme + netloc + path         netloc = proxy This resolved the problem. This, however, isn't really a fix - it relies on the fact that init_proxy sets the http_proxy environment variable and ignores anything else that might set up urllib2 to properly use a proxy server.
2009-10-30 11:20:59 Michael Vogt update-manager (Ubuntu Lucid): milestone lucid-alpha-1
2009-10-30 11:21:04 Michael Vogt update-manager (Ubuntu Lucid): assignee Michael Vogt (mvo)
2009-10-30 11:21:10 Michael Vogt update-manager (Ubuntu Jaunty): assignee Michael Vogt (mvo)
2009-10-30 12:48:17 Martin Pitt update-manager (Ubuntu Jaunty): status In Progress Fix Committed
2009-10-30 12:48:22 Martin Pitt tags verification-needed
2009-10-30 13:06:06 Chihiro Kuroki removed subscriber Chihiro Kuroki
2009-10-30 15:15:49 Michael Vogt attachment added better patch http://launchpadlibrarian.net/34695623/lala.diff
2009-11-02 18:46:22 Matthias removed subscriber Matthias
2009-11-03 13:12:14 Launchpad Janitor branch linked lp:update-manager
2009-11-03 13:25:09 Launchpad Janitor update-manager (Ubuntu Lucid): status Confirmed Fix Released
2009-11-23 10:24:48 Martin Pitt tags verification-needed verification-done
2009-11-23 10:25:25 Launchpad Janitor update-manager (Ubuntu Jaunty): status Fix Committed Fix Released
2010-01-06 23:20:14 Thomas E Jenkins attachment added use-urllib2-in-url_downloadable.diff http://launchpadlibrarian.net/37520490/use-urllib2-in-url_downloadable.diff
2010-01-06 23:29:05 Thomas E Jenkins attachment removed use-urllib2-in-url_downloadable.diff http://launchpadlibrarian.net/37520490/use-urllib2-in-url_downloadable.diff
2010-01-06 23:30:16 Thomas E Jenkins attachment added use-urllib2-in-url_downloadable-2.diff http://launchpadlibrarian.net/37520671/use-urllib2-in-url_downloadable-2.diff
2010-01-07 19:00:06 Thomas E Jenkins attachment removed use-urllib2-in-url_downloadable-2.diff http://launchpadlibrarian.net/37520671/use-urllib2-in-url_downloadable-2.diff
2010-01-07 19:01:44 Thomas E Jenkins attachment added use-urllib2-in-url_downloadable-3.diff http://launchpadlibrarian.net/37562858/use-urllib2-in-url_downloadable-3.diff
2010-01-10 10:54:54 Martin Pitt update-manager (Ubuntu Karmic): assignee Michael Vogt (mvo)
2010-02-22 00:31:39 Launchpad Janitor branch linked lp:ubuntu/update-manager
2010-02-22 00:39:14 Launchpad Janitor branch linked lp:ubuntu/jaunty-proposed/update-manager
2010-05-06 13:54:30 Launchpad Janitor branch linked lp:~ubuntu-core-dev/update-manager/karmic
2010-05-06 14:18:07 Michael Vogt update-manager (Ubuntu Karmic): status Confirmed In Progress
2010-05-09 10:26:32 Martin Pitt update-manager (Ubuntu Karmic): status In Progress Fix Committed
2010-05-09 10:26:45 Martin Pitt tags verification-done
2010-05-09 10:26:50 Martin Pitt tags verification-needed
2010-05-09 11:15:30 Launchpad Janitor branch linked lp:ubuntu/karmic-proposed/update-manager
2010-05-11 10:09:42 Martin Pitt tags verification-needed verification-done
2010-06-08 09:46:07 Launchpad Janitor update-manager (Ubuntu Karmic): status Fix Committed Fix Released
2010-06-08 10:18:23 Launchpad Janitor branch linked lp:ubuntu/karmic-updates/update-manager