Yep, distribution upgrades will not work when you have to use a proxy.
I have http_proxy and ftp_proxy set to "http://web-proxy:8080/", Synaptic, Settings->Network->Proxy set to the same and also /etc/apt/apt.conf has
Acquire::http::proxy "http://web-proxy:8080/";
Still same behavior as #34.
I also tried the following, waited and pressed Ctrl+C:
$ sudo do-release-upgrade -m desktop
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 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
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
$ uname -a
Linux ubuntu 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:56 UTC 2010 i686 GNU/Linux
Yep, distribution upgrades will not work when you have to use a proxy. web-proxy: 8080/", Synaptic, Settings- >Network- >Proxy set to the same and also /etc/apt/apt.conf has :http:: proxy "http:// web-proxy: 8080/";
I have http_proxy and ftp_proxy set to "http://
Acquire:
Still same behavior as #34.
I also tried the following, waited and pressed Ctrl+C:
$ sudo do-release-upgrade -m desktop do-release- upgrade" , line 61, in <module> python2. 6/dist- packages/ UpdateManager/ Core/DistUpgrad eFetcherCore. py", line 235, 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 105, in url_downloadable "HEAD", path) python2. 6/httplib. py", line 898, in request _send_request( method, url, body, headers) python2. 6/httplib. py", line 935, in _send_request endheaders( ) python2. 6/httplib. py", line 892, in endheaders _send_output( ) python2. 6/httplib. py", line 764, in _send_output python2. 6/httplib. py", line 723, in send python2. 6/httplib. py", line 704, in connect python2. 6/socket. py", line 507, in create_connection connect( sa)
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
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
$ uname -a
Linux ubuntu 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:56 UTC 2010 i686 GNU/Linux