Comment 6 for bug 479391

Revision history for this message
Helge Stenström (h-stenstrom) wrote :

Maybe this bug affects me too. My computer used to be a desktop, but I've removed screen and keyboard, so I guess it's a server. It's behind a proxy that doesn't require authentication. I log in to the computer on the intranet using ssh.

Nothing happens in at least 10 minutes after

helge@ws4370:~$ sudo do-release-upgrade
[sudo] password for helge:
Checking for a new ubuntu release

so I abort using ctrl-C, and get:

^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 235, 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 105, in url_downloadable
    c.request("HEAD", path)
  File "/usr/lib/python2.6/httplib.py", line 898, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.6/httplib.py", line 935, in _send_request
    self.endheaders()
  File "/usr/lib/python2.6/httplib.py", line 892, in endheaders
    self._send_output()
  File "/usr/lib/python2.6/httplib.py", line 764, in _send_output
    self.send(msg)
  File "/usr/lib/python2.6/httplib.py", line 723, in send
    self.connect()
  File "/usr/lib/python2.6/httplib.py", line 704, in connect
    self.timeout)
  File "/usr/lib/python2.6/socket.py", line 507, in create_connection
    sock.connect(sa)
  File "<string>", line 1, in connect
KeyboardInterrupt
helge@ws4370:~$

When I used the update-manager, regular updates went fine, but when I clicked the Upgrade button for the new release (10.04 LTS), the program stopped responding. When aborted with ctrl-c, I got a similar printout.

I have http_proxy and ftp_proxy set:
helge@ws4370:~$ env |grep proxy
http_proxy=http://example.com:8080
ftp_proxy=http://example.com:8080

(but not to example.com, actually)