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.
user@lab03:~$ export http_proxy="http://1.2.3.4:8080"
user@lab03:~$ sudo echo $http_proxy http://1.2.3.4:8080
user@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
"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..
user@lab03:~$ export http_proxy="http:// 1.2.3.4: 8080" 1.2.3.4: 8080 do-release- upgrade" , line 61, in <module> python2. 6/dist- packages/ UpdateManager/ Core/DistUpgrad eFetcherCore. py", line 236, in run pgrader( ): python2. 6/dist- packages/ UpdateManager/ Core/DistUpgrad eFetcherCore. py", line 203, in fetchDistUpgrader (self.new_ dist.upgradeToo lSig) python2. 6/dist- packages/ UpdateManager/ Core/DistUpgrad eFetcherCore. py", line 178, in _expandUri from_sources_ list(uri, self.DEFAULT_ MIRROR) python2. 6/dist- packages/ UpdateManager/ Core/DistUpgrad eFetcherCore. py", line 164, in mirror_ from_sources_ list e(mirror_ uri, self._debug): python2. 6/dist- packages/ UpdateManager/ Core/utils. py", line 77, in url_downloadable "HEAD", path) python2. 6/httplib. py", line 874, in request _send_request( method, url, body, headers) python2. 6/httplib. py", line 911, in _send_request endheaders( ) python2. 6/httplib. py", line 868, in endheaders _send_output( ) python2. 6/httplib. py", line 740, in _send_output python2. 6/httplib. py", line 699, in send python2. 6/httplib. py", line 683, in connect python2. 6/socket. py", line 505, in create_connection connect( sa)
user@lab03:~$ sudo echo $http_proxy
http://
user@lab03:~$ sudo do-release-upgrade -d
Checking for a new ubuntu release
^CTraceback (most recent call last):
File "/usr/bin/
fetcher.run()
File "/usr/lib/
if not self.fetchDistU
File "/usr/lib/
uri = self._expandUri
File "/usr/lib/
new_uri = self.mirror_
File "/usr/lib/
if url_downloadabl
File "/usr/lib/
c.request(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.send(msg)
File "/usr/lib/
self.connect()
File "/usr/lib/
self.timeout)
File "/usr/lib/
sock.
File "<string>", line 1, in connect
KeyboardInterrupt