"Same here"..

After setting the http_proxy environment variable, I can use wget and
similar and reach sites on the internet.. But running "do-release-
upgrade -d" or running "update-manader -d" and clicking the "Upgrade"
fails. The first only shows "Checking for a new ubuntu release" forever
until I break (^C). The second needs to be killed.

Feels like https://bugs.launchpad.net/ubuntu/+source/update-manager-
core/+bug/162996 never was fixed..

u...@lab03:~$ export http_proxy="http://1.2.3.4:8080";
u...@lab03:~$ sudo echo $http_proxy
http://1.2.3.4:8080
u...@lab03:~$ sudo do-release-upgrade -d
Checking for a new ubuntu release
^CTraceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 61, in <module>
    fetcher.run()
  File 
"/usr/lib/python2.6/dist-packages/UpdateManager/Core/DistUpgradeFetcherCore.py",
 line 236, in run
    if not self.fetchDistUpgrader():
  File 
"/usr/lib/python2.6/dist-packages/UpdateManager/Core/DistUpgradeFetcherCore.py",
 line 203, in fetchDistUpgrader
    uri = self._expandUri(self.new_dist.upgradeToolSig)
  File 
"/usr/lib/python2.6/dist-packages/UpdateManager/Core/DistUpgradeFetcherCore.py",
 line 178, in _expandUri
    new_uri = self.mirror_from_sources_list(uri, self.DEFAULT_MIRROR)
  File 
"/usr/lib/python2.6/dist-packages/UpdateManager/Core/DistUpgradeFetcherCore.py",
 line 164, in mirror_from_sources_list
    if url_downloadable(mirror_uri, self._debug):
  File "/usr/lib/python2.6/dist-packages/UpdateManager/Core/utils.py", line 77, 
in url_downloadable
    c.request("HEAD", path)
  File "/usr/lib/python2.6/httplib.py", line 874, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.6/httplib.py", line 911, in _send_request
    self.endheaders()
  File "/usr/lib/python2.6/httplib.py", line 868, in endheaders
    self._send_output()
  File "/usr/lib/python2.6/httplib.py", line 740, in _send_output
    self.send(msg)
  File "/usr/lib/python2.6/httplib.py", line 699, in send
    self.connect()
  File "/usr/lib/python2.6/httplib.py", line 683, in connect
    self.timeout)
  File "/usr/lib/python2.6/socket.py", line 505, in create_connection
    sock.connect(sa)
  File "<string>", line 1, in connect
KeyboardInterrupt

-- 
do-release-upgrade does not work behind proxy
https://bugs.launchpad.net/bugs/440229
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

Reply via email to