I see the code has changed substantially. I tried to reproduce it with
the old code, but I didn't manage to trigger the "new version of Ubuntu
is available" dialog. As the code has changed, possibly the issue is
gone.

Any idea on how can I test this - how can I force the "new version of
Ubuntu is available" dialog to appear? (I'm running 11.10 now, so now
update-manager has no reason to show me the dialog by itself.)

As for reproducing: The issue was a result of some proxy handling mess +
being on a network where the only way to the internet is via a proxy
(direct connection not allowed). E.g. this should reproduce the bug if
it's still there:

1) find/set up some proxy running on port != 80
2) disable outgoing connections on port 80 (something like: iptables -A OUTPUT 
-p tcp --dport 80 -j REJECT)
3) set up http_proxy + proxy in Apt (Acquire::http::Proxy 
"http://yourproxy:port";;)
4) check that direct connection to the web does not work, but that connection 
via the proxy works
5) make update-manager show the "new version of Ubuntu is available" dialog; if 
the release notes/info document fetched by the update-manager via HTTP displays 
correctly, then the bug is gone

(if the document being fetched by the dialog is served by a HTTP server
on port other than 80, replace the 80 in the steps above with the port
number the server runs on.)

As an added bonus: try to use different proxies for APT and for
http_proxy and see which one is used for fetching the release notes/info
document. In the old code, I had the feeling that APT proxy took
priority over http_proxy, but I think for the web page load, http_proxy
should be used. And for APT the apt proxy. Admittedly, in real life, the
proxies will be the same, so this might be just splitting hairs.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880090

Title:
  "Ubuntu distro Upgrade Available" dialog ignores HTTP proxy settings
  when fetching release info

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/880090/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to