[Bug 396187] Re: url_downloadable does not respect proxy

2010-08-09 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:0.134.10

---
update-manager (1:0.134.10) lucid-proposed; urgency=low

  * DistUpgrade/DistUpgradeMain.py:
- add filter for apt API not stable yet warning (for
  hardy-lucid upgrades) (LP: #534200)
  * UpdateManager/Core/utils.py:
- fix url_downloadable and add tests, based on the patch from
  Paulo Albuquerque, many thanks (LP: #396187)
  * DistUpgrade/DistUpgradeViewNonInteractive.py:
- make the dpkg-status file parser more robust against
  unexpected data (LP: #574837)
 -- Michael Vogt michael.v...@ubuntu.com   Wed, 30 Jun 2010 16:01:01 +0200

** Changed in: update-manager (Ubuntu Lucid)
   Status: Fix Committed = Fix Released

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2010-08-06 Thread Jean-Baptiste Lallement
SRU verification for Lucid:
I have reproduced the problem with update-manager 1:0.134.9 in lucid-updates 
and have verified that the version of update-manager 1:0.134.10 in -proposed 
fixes the issue. I've tested to the stage where update-manager starts to 
download the packages. 

Marking as verification-done

** Tags added: verification-done
** Tags removed: verification-needed

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2010-07-01 Thread Martin Pitt
Accepted update-manager into lucid-proposed, the package will build now
and be available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: update-manager (Ubuntu Lucid)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2010-07-01 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-proposed/update-manager

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2010-06-04 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/update-manager

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2010-05-31 Thread Michael Vogt
Thanks for the bugreport and the patch. The patch is not ideal because
urllib2 always uses GET (for http) and RETR (for ftp). This is not ideal
as it will cause more traffic than needed, especially when looking for a
big File like Packages.gz. This is why the (more complicated) version
with httplib/ftplib is used. In trunk this should be fixed and proxy
support should be fully working.

** Changed in: update-manager (Ubuntu)
   Status: Confirmed = Fix Released

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2010-05-31 Thread Michael Vogt
  * UpdateManager/Core/utils.py:
- fix url_downloadable and add tests, based on the patch from
  Paulo Albuquerque, many thanks (LP: #396187)


** Changed in: update-manager (Ubuntu)
   Status: Fix Released = Fix Committed

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2010-05-31 Thread Launchpad Bug Tracker
** Branch linked: lp:update-manager

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2010-05-31 Thread Michael Vogt
** Also affects: update-manager (Ubuntu Lucid)
   Importance: Undecided
   Status: New

** Changed in: update-manager (Ubuntu Lucid)
   Status: New = In Progress

** Changed in: update-manager (Ubuntu Lucid)
   Importance: Undecided = Medium

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2010-05-31 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/update-manager/lucid

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2010-05-31 Thread Michael Vogt
** Description changed:

+ url_downloadable in lucid is used to detect old-release.ubuntu.com
+ upgrades and to figure out the best location to downolaod the release-
+ upgrader tarball. Failure on this is not critical, just leads to using
+ archive.ubuntu.com instead of the selected mirror when a proxy is given.
+ Still worth fixing for the old-release.ubuntu.com upgrade case.
+ 
+ TEST CASE (lucid):
+ 1. use lucid and ensure you use a country proxy like de.archive.ubuntu.com
+ 2. /etc/update-manager/release-upgrades to prompt=normal
+ 3. run do-release-upgrade -d to get to maverick
+ 4. watch the proxy log (e.g. /var/log/squid/access.log) that 
archive.ubuntu.com is used to download 
http://archive.ubuntu.com/ubuntu/dists/maverick/main/dist-upgrader-all/current/maverick.tar.gz
+ 5. install update-manager from lucid-proposed
+ 6. repeat 3
+ 7. verify in the proxy log that de.archive.ubuntu.com (or what mirror you 
selected) is used now
+ 
  Binary package hint: update-manager-core
  
  Description:  Ubuntu 9.04
  Release:  9.04
  
  Version: 1:0.111.7
  
  url_downloadable in /usr/lib/python2.6/dist-
  packages/UpdateManager/Core/utils.py does not respect a http proxy.
  Therefore
  
  sudo do-release-update -d
  
  hangs whilst checking if the UpdateToolSig is downloadable.

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2010-05-31 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:0.141

---
update-manager (1:0.141) maverick; urgency=low

  * UpdateManager/backend/__init__.py:
- switch to aptdaemon as install backend by default (unless
  the user has UPDATE_MANAGER_FORCE_BACKEND_SYNAPTIC in his
  environment)
- merged lp:~glatzor/update-manager/ubuntu-glatzor (many thanks!)
  * DistUpgrade/DistUpgradeController.py:
   - use pockets from DistUpgrade.cfg instead of hard-coding them
  * tests/test_sources_list.py:
- update tests
  * UpdateManager/Core/utils.py:
- fix url_downloadable and add tests, based on the patch from
  Paulo Albuquerque, many thanks (LP: #396187)
  * UpdateManager/UpdateManager.py:
- fix typo (thanks to seb128)
  * DistUpgrade/mirrors.cfg:
- support upgrades when sources.list uses the new
  mirror://mirrors.ubuntu.com/mirrors.txt
  uri
  * UpdateManager/GtkProgress.py:
- do not open a cache open progress window, instead show the
  progress inline in the window
 -- Michael Vogt michael.v...@ubuntu.com   Mon, 31 May 2010 15:14:22 +0200

** Changed in: update-manager (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2010-05-30 Thread Adam Guthrie
** Package changed: update-manager-core (Ubuntu) = update-manager
(Ubuntu)

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2009-11-02 Thread Riku Voipio
After adding the patch in comment #2 and the fix comment #2, it works
for me.

Quite sad that this bug was not fixed in one month after the patch was
submitted :'(

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2009-10-08 Thread Jayson Santos
At the end of line 48 it is missing a :
I tried that and still not working, I will try to build a opener with proxy.

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2009-09-28 Thread Paulo Albuquerque
** Changed in: update-manager-core (Ubuntu)
   Status: New = Confirmed

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2009-09-28 Thread Paulo Albuquerque
I'm seeing this behavior too. I was trying to update an Ubuntu Server to
test Karmic and spotted this. It was very weird because sudo do-
release-upgrade apparently works and sudo do-release-upgrade -d
doesn't.

I checked the process environment and the $http_proxy variable is
correctly defined. Then I started fiddling with the python script and
found this bug.

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2009-09-28 Thread Paulo Albuquerque
I solved the problem and tested it on my system. The upgrade to a
development release now works fine.

I use urllib2 to test the repository url insted of using httplib and
ftplib, so the proxy definitions are used. The code is more compact too.

Can someone have a look?

** Attachment added: unified diff for 
/usr/lib/python2.6/dist-packages/UpdateManager/Core/utils.py
   http://launchpadlibrarian.net/32630844/url_downloadable.patch

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 396187] Re: url_downloadable does not respect proxy

2009-09-28 Thread Paulo Albuquerque
** Tags added: jaunty

-- 
url_downloadable does not respect proxy
https://bugs.launchpad.net/bugs/396187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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