Binary package hint: update-manager
My system (Ubuntu 9.10) is behind a proxy which requires authentication. The credentials are stored in gconf. I always checked the correctness of environment variable http_proxy before running a command from command line.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.
But i am not able to do a distribution upgrade, neither with update-manager nor do-release-upgrade. update-manager does not show the notification "a new version of ubuntu...", do-release-upgrade fails with:
$ sudo env | grep http_proxy; sudo /usr/bin/do-release-upgrade
[sudo] password for user:
http_proxy=http://user:<email address hidden>:3128/
Checking for a new ubuntu release
No new release found
The jaunty-proposed package 1:0.111.10 does not solve my problem. The notification "a new version of ubuntu..." is still not shown.
There are some patches in bug report #446552 which help a bit:
Both of Michaels patches (applied on 1:0.111.9) solve my problem for the gui update-manager. But both did not help for do-release-update.
The reason for failing on do-release-update is, that the problem is - at least partially - independend of url_downloadable. One problem exists in /usr/share/pyshared/UpdateManager/Core/MetaRelease.py around line 251. The code generates
407: ('Proxy Authentication Required', 'You must authenticate with this proxy before proceeding.'), So i assume that the fix of the patch has to be applied on more places.