[Bug 446552] Re: url_downloadable ignores proxy settings

2011-10-25 Thread Daniel
Just trying to update from natty (11.04) to oneiric (11.10) and having the same problem: do-release-upgrade, started from console, hangs. http_proxy set, but Proxy settings in gnome are not set. Any console application should use http_proxy as first option -- You received this bug notification be

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-10-12 Thread Nikita
I'm also have problem with proxy, becouse I have separate proxy for internet connection and for apt (accepts only package downloading), but init_proxy() in utils.py prefer Acquire::http::Proxy then env settings. So I can't connect to http://changelogs.ubuntu.com from second proxy. Solution for me

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-10-11 Thread Nikita
I have the same problem when upgrading from 10.04 to 10.10. I'm behind proxy with basic auth (squid), proxy settings sets in env and apt.cont. Installing and updating packages works well. > sudo do-release-upgrade do nothing, so I replaced /var/lib/update-manager/meta-release from http://changel

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-06-08 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:0.126.10 --- update-manager (1:0.126.10) karmic-proposed; urgency=low * UpdateManager/Core/utils.py: - fix proxy detection in url_downloadable (LP: #446552) * UpdateManager/Core/DistUpgradeFetcherCore.py: - add missing "

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-21 Thread Mike
Please ignore my previous comment, there was error in my proxy settings! Sorry for bugspam. -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-19 Thread Mike
I'm second to comment 47. do-release-upgrade from update-manager-core 1:0.126.10 doesn't work for me I *do not* use authentification on proxy. r...@ws027:~# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=9.10 DISTRIB_CODENAME=karmic DISTRIB_DESCRIPTION="Ubuntu 9.10" r...@ws027:~# uname -

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-17 Thread Guenter Roeck
update-manager from karmic-proposed fixed the problem for me. Guenter -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-12 Thread Marco De Paolini
Just upgraded to update-manager-core 1:0.126.10 and do-release-upgrade still not work for me on karmic amd64. $ sudo env | grep http_proxy;sudo DEBUG_UPDATE_MANAGER=yes do-release-upgrade http_proxy=http://:y...@192.168.64.20:3128 Checking for a new ubuntu release MetaRelease.__init__() useDev

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-12 Thread Henning Moll
It works - even with proxy authentication. bug #479391 seems to be a duplicate now. -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-11 Thread Martin Pitt
** Tags added: verification-done ** Tags removed: verification-needed -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-11 Thread Ville Ranki
Martin's package solved the problem for me too. -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 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 h

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-10 Thread Hideki Sakurada
update-manager from karmic-proposed works fine for me. Thank you. -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-09 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic-proposed/update-manager -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 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.u

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-09 Thread Martin Pitt
Accepted update-manager into karmic-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 (U

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-06 Thread Michael Vogt
I uploaded a karmic version of the jaunty fix to karmic-proposed now. ** Changed in: update-manager (Ubuntu Karmic) Status: Confirmed => In Progress -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a membe

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-06 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/update-manager/karmic -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 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.

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-06 Thread jstammi
At least for the karmic -> lucid path the upgrade does work indeed - but only with waiting for ~2 hours :-(. After this time of waiting the upgrade works as expected (with using the proxy), see #574439. -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-05-05 Thread ttp
"better patch" lala.diff fixed the problem for me again. I'm having the same problem when tried to upgrade to karmic. -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed t

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-04-29 Thread Riku Voipio
karmic -> lucid path is still broken, since only jaunty and lucid versions were "fixed". Also, the *proper* fix is to use urllib2 instead of that manual code in current lucid version. The "urllib2 doesn' support proxy auth" is poor excuse. urrlib2 should be fixed in python instead of working it ar

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-04-29 Thread Torsten Hilbrich
I also can confirm the bug to be present in update-manager 1:0.126.9 of karmic. Neither the proxy setting in synaptic nor the environment variable http_proxy are consulted when trying to the update. The patch in use-urllib2-in-url_downloadable-3.diff fixed the problem for me. Quite a long-standin

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-04-26 Thread Markus Strobl
Confirm the problem still exists in Karmic. I applied the original patch from the bug report and after that update-manager -d works. -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-04-13 Thread Serge van Ginderachter
It seems this bug still persists in Karmic, trying to upgrade to Lucid beta. Shouldn't this be fixed urgently before the Lucid release? -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, whi

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-02-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/jaunty-proposed/update-manager -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 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.u

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-02-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/update-manager -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 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:

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-01-10 Thread Martin Pitt
Michael, can you please check and upload if you deem it appropriate? Thanks! ** Changed in: update-manager (Ubuntu Karmic) Assignee: (unassigned) => Michael Vogt (mvo) -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification becaus

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-01-07 Thread Thomas E Jenkins
I guess I wasn't testing what I thought I was testing. Here is the patch again less another typo. Sorry for the noise. ** Attachment removed: "use-urllib2-in-url_downloadable-2.diff" http://launchpadlibrarian.net/37520671/use-urllib2-in-url_downloadable-2.diff ** Attachment added: "use-urllib2

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-01-06 Thread Thomas E Jenkins
Here's the same path now against the right file and less a typo. ** Attachment removed: "use-urllib2-in-url_downloadable.diff" http://launchpadlibrarian.net/37520490/use-urllib2-in-url_downloadable.diff ** Attachment added: "use-urllib2-in-url_downloadable-2.diff" http://launchpadlibrarian

[Bug 446552] Re: url_downloadable ignores proxy settings

2010-01-06 Thread Thomas E Jenkins
FWIW here is a patch that rewrites url_downloadable to use urllib2 instead of pulling http_proxy out of the environment. ** Attachment added: "use-urllib2-in-url_downloadable.diff" http://launchpadlibrarian.net/37520490/use-urllib2-in-url_downloadable.diff -- url_downloadable ignores proxy s

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-23 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:0.111.10 --- update-manager (1:0.111.10) jaunty-proposed; urgency=low * UpdateManager/Core/utils.py: - fix url_downloadable() when a proxy needs to be used (LP: #446552) -- Michael VogtWed, 29 Apr 2009 15:50:57 +02

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-23 Thread Martin Pitt
** Tags added: verification-done ** Tags removed: verification-needed -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-23 Thread Gunther Stengl
The proposed solution installing the version from "jaunty-proposed" works for me. I am not using proxy authentication but must use a proxy. My usage: sudo-shell# http_proxy="11.22.33.44:80" do-release-upgrade It does not seem to use the user's gnome-proxy-settings. Thanks. -- url_downloadable ig

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-10 Thread Karl Rolfe
==> check that env contains http_proxy setting administra...@ubuntu-box-1:~$ sudo sh -c export . . content deleted from brevity . export http_proxy='kgnews:##...@http://proxy.ourproxy.org.au:3128' ==> yes, env is set with username and password and pointing to the proxy ==> then run update

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-09 Thread Karl Rolfe
I should add that in the rest of the log after hitting the check button there are no calls to changelogs.ubuntu.com just several to archive.ubuntu.com which all are passed. -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-09 Thread Karl Rolfe
I updated to the proposed version then applied the 2nd patch and it hasn't worked for me. With the non patched version in my /var/squid/log/access.log the first entry after hitting the check button is: 1257825448.330 1 192.168.5.91 TCP_DENIED/407 1771 GET http://changelogs.ubuntu.com/meta-

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-09 Thread Henning Moll
Michael wrote: >I think we should open a different bug for the proxy authentication. Just created: #479391 -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-09 Thread Michael Vogt
@Henning: I think we should open a different bug for the proxy authentication. I would love to polish the patch a bit and send you a new version for testing. -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a memb

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-09 Thread Michael Vogt
I just got confirmation on irc that the problem is fixed for regular proxy users on irc. I would like to suggest to push it to update as we got no regression reports so far and solve the authentication proxy issue independently (to not slow the deployment of this fix). -- url_downloadable ignores

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-04 Thread Henning Moll
A summary of my observations: My situation: Normal actions in update-manager (1:0.111.9) work. I am able to get normal package updates. So in this part, update-manger handles my auth-proxy correctly. Without the credentials, the proxy would not handle any requests. The credentials are stored in

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-03 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:0.130 --- update-manager (1:0.130) lucid; urgency=low * UpdateManager/UpdateManager.py: - set heading for the release-upgrader download window * DistUpgrade/DistUpgradeController.py: - force lts for lucid cdrom upgrades

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-03 Thread Launchpad Bug Tracker
** Branch linked: lp:update-manager -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 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

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-02 Thread jdobry
this patch http://launchpadlibrarian.net/34695623/lala.diff works for "do-release-upgrade" correcly I am not see, that patch is commited but not released, sorry. -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-02 Thread jdobry
second patch again fixes "update-manager" but not "do-release-upgrade" and it is problem if somebody have not X installed in server -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-02 Thread Henning Moll
... The same applies to the non-root version /home//.update- manager-core/meta-release -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mail

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-11-02 Thread Henning Moll
The proposed version does not work for me. $ apt-cache policy update-manager update-manager: Installiert: 1:0.111.10 Kandidat: 1:0.111.10 Versions-Tabelle: *** 1:0.111.10 0 400 http://archive.ubuntu.com jaunty-proposed/main Packages ... A click on "check" should get a fresh version

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Henning Moll
Michael, the proxy configuration has been also in the gnome proxy configuration ever since and it does not work without the patch. Your second patch again fixes "update-manager" but not "do-release-upgrade" -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You rec

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Henning Moll
@Michael: my last comment was in reply to your first patch. Now i will try your second one... -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bu

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Henning Moll
@Muelli: yes, the code in /usr/share/pyshared/UpdateManager/Core/MetaRelease.py uses urllib. Well, it uses urllib2... @Michael: Your patch fixes my problem in "update-manager". Thats great! But it did not fix it in 'do-release-upgrade'. -- url_downloadable ignores proxy settings https://bugs.lau

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Michael Vogt
Henning, as a workaround (that should not need the second patch), does it help if you define the proxy and the username/password in the gnome proxy configuration ? Or is it there already? -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notif

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Michael Vogt
** Attachment added: "better patch" http://launchpadlibrarian.net/34695623/lala.diff -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Michael Vogt
Hello Henning, could you please try the following patch: === modified file 'UpdateManager/Core/utils.py' --- UpdateManager/Core/utils.py 2009-01-27 13:48:14 + +++ UpdateManager/Core/utils.py 2009-10-30 11:05:50 + @@ -72,6 +72,10 @@ (scheme, netloc, path, querry, fragment) = urlparse.url

Re: [Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Muelli
Heya, On 30.10.2009 14:08, Henning Moll wrote: > Well, it is just simple authentication. Well, if urllib was used, it doesn't support Proxies with authentication: http://docs.python.org/library/urllib.html#index-699 One has to patch it in manually, using e.g. this method: http://bytes.com/topic/p

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Henning Moll
after downloading the content of http://changelogs.ubuntu.com/meta- release manually to /var/lib/update-manager/meta-release, the script runs a little bit further: Debug output of do-release-upgrade now shows: $ sudo DEBUG_UPDATE_MANAGER=1 /usr/bin/do-release-upgrade Checking for a new ubuntu rel

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Henning Moll
@Michael: Well, it is just simple authentication. Here's what i did: $ sudo env | grep http_proxy; sudo /usr/bin/do-release-upgrade [sudo] password for user: http_proxy=http://user:passw...@proxy.abc.de:3128/ Checking for a new ubuntu release No new release found If i modifiy the mentioned pytho

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Michael Vogt
@Henning: what kind of proxy authentication is required? A simple username,password should be handled. Or do you need more elaborate mechanisms? -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Henning Moll
Does this also fix the following problem with '/usr/bin/do-release- upgrade' which i have with jaunty? The python script tries to download something like http://changelogs.ubuntu.com/meta-release, but fails because of not handling proxy authentification. The problematic code is in /usr/share/py

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Martin Pitt
Accepted update-manager into jaunty-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 (U

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Michael Vogt
The last comment should end with "... for jaunty" (to keep the fix as minimal as possible for now). -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubu

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Michael Vogt
Thanks Daniel for the bug and the fix. I know its not a ideal fix, but it should be good enough (and most importantly minimal enough) for jaunty. I do some investigation now into a fix based on urrlib2 (it just need to be made to do a HEAD request on http and a size() rquest on ftp). But init_proxy

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/update-manager/jaunty -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 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.

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-30 Thread Michael Vogt
** Also affects: update-manager (Ubuntu Jaunty) Importance: Undecided Status: New ** Also affects: update-manager (Ubuntu Karmic) Importance: Undecided Status: New ** Also affects: update-manager (Ubuntu Lucid) Importance: High Status: Confirmed -- url_downloadable

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-29 Thread Muelli
Yeah, this patch totally fixes the issue for me. Now I'm finally able to upgrade. Thanks man. Confirming, that update-manager freezes when trying to connect to the internet through the configured proxy. -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You receiv

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-13 Thread Michael Vogt
** Changed in: update-manager (Ubuntu) Status: New => Confirmed ** Changed in: update-manager (Ubuntu) Importance: Undecided => High -- url_downloadable ignores proxy settings https://bugs.launchpad.net/bugs/446552 You received this bug notification because you are a member of Ubuntu B

[Bug 446552] Re: url_downloadable ignores proxy settings

2009-10-12 Thread Daniel Potter
I should probably have mentioned that the end result is that, if you're behind a firewall, after clicking the "Upgrade" button to start a distribution upgrade, the Update Manager appears to hang. The reason is that it's sitting in url_downloadable, waiting for the connection to time out. Correctin