do-release-upgrade timesout with "Failed to connect..." from behind a proxy from 18.04 to 20.04
I'm trying to upgrade an Ubuntu 18.04LTS VM that is behind a proxy. Running do-release-upgrade seems to timeout and reports "Failed to connect to https:/
The various http_proxy env var settings are correct - curl can retrieve the changelogs.
With my basic knowledge of python I've run a python interactive session and have done an "init_proxy()" from UpdateManager.
req = Request("https:/
uri = urlopen(req, timeout=20)
for line in uri.readlines():
print(line)
...and this printed out the contents of the file at the changelogs URL. However if I import MetaReleaseCore and do
init_proxy()
m = MetaReleaseCOre
m.downloaded.wait()
...then I get the same error as if I run the do-release-upgrade command directly.
I can't see that it's a problem with my proxy config.
(FYI, earlier today, on the same machine, I did a do-release-upgrade to get from 16.04 to 18.04, followed by an apt update/
Description: Ubuntu 18.04.1 LTS
Release: 18.04
ubuntu-
Installed: 1:18.04.17
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Dave
- Solved:
- Last query:
- Last reply: