update-manager + gnome proxy => cannot disable http proxy

Bug #219227 reported by AZ
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Michael Vogt
Michael Vogt

Bug Description

Binary package hint: update-manager

I'm behind a firewall which requires me to setup a ftp proxy. I did this in gnome but left http proxy empty, as there is no http proxy required to connect to the internet. Though gnome sets system/http_proxy/use_http_proxy and leaves system/http_proxy/host empty, so update-manager tries to configure a proxy and fails due to no host given.

I'm proposing to change UpdateManager.py , method init_proxy (line 433) from >if proxy:< into >if proxy and host != "":<.

Revision history for this message
AZ (m-dev) wrote :

I'm using gutsy with update-manager 1:0.81.2 installed.

Revision history for this message
AZ (m-dev) wrote :

This is related to Bug #78098 , which is about configuring a socks proxy without setting a http_proxy in gnome.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This is fixed in my local tree and it will be part of the next upload

Changed in update-manager:
assignee: nobody → mvo
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.87.22

update-manager (1:0.87.22) hardy; urgency=low

  * UpdateManager/UpdateManager.py:
    - only set http proxy if hostname/port is valid (LP: #219227)
  * DistUpgrade/DistUpgradeController.py:
    - some more debug logging
    - fix missing cache open
    - smaller default network time out
    - run the initial cache.update() on the unmodified sources.list
      with only a single retry because it may contain sources that
      do not respond

 -- Michael Vogt <email address hidden> Sat, 19 Apr 2008 00:18:25 +0200

Changed in update-manager:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers