Okay this should be easy but it seems unusually difficult. I have an Ubuntu 18.04 (Bionic) AWS EC2 instance which I want to upgrade. I realise that I'll have to do it in two steps but I'm having a few issues, as follows.
I've done quite a bit of research on this so here's what I've done:
sudo rm /var/lib/ubuntu-release-upgrader/release-upgrade-available
Edited /etc/update-manager/release-upgrades and set Prompt= from lts to normal.
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
Tried: sudo do-release-upgrade
Result: Checking for a new Ubuntu release
Failed to connect to https://changelogs.ubuntu.com/meta-release. Check your Internet connection or proxy settings
No new release found.
Tried: sudo do-release-upgrade -d
Result: Checking for a new Ubuntu release
Failed to connect to https://changelogs.ubuntu.com/meta-release-development. Check your Internet connection or proxy settings
Upgrades to the development release are only
available from the latest supported release.
I can curl to https://changelogs.ubuntu.com/meta-release-development with no problems.
I've restarted the Server a few times and tried to repeat the process, with no luck. I even found an article that recommended editing a dist-upgrade related Python file with an SSL related setting. This didn't fix the issue so I backed that edit out again.
I suspect that if 18.10 or 19.04 were recorded as LTS then I'd be able to upgrade to them but that doesn't help me at the moment.
Any ideas would be much appreciated. I'd rather not build a fresh Server at this stage (although I need to convert the build to IaC in the future).
Thank you.