Upgrading Ubuntu Server 20.04 to 22.04: Failed to connect to https://changelogs.ubuntu.com/meta-release

I am trying to update my Ubuntu server from 20.04 LTS to 22.04 LTS and eventually to 24.04.

Ubuntu Version:
20.04 LTS

Desktop Environment (if applicable):
Lubuntu

Problem Description:
I am getting the following error: Failed to connect to https://changelogs.ubuntu.com/meta-release. Check your Internet connection or proxy.
My internet connection is fine and I don’t use a proxy server. Further, I have no problem opening “https://changelogs.ubuntu.com/meta-release” in my browser (Firefox).

Relevant System Information:
System is old Dell Intel-based Optiplex 9010

Screenshots or Error Messages:
Error message: Failed to connect to https://changelogs.ubuntu.com/meta-release. Check your Internet connection or proxy.

What I’ve Tried:
sudo apt update && sudo apt full-upgrade
updated update-manager
sudo apt install update-manager-core
sudo do-release-upgrade
/usr/lib/ubuntu-release-upgrader/check-new-release-gtk

I’ve come up dry with multiple searches. I’m stumped…and frustrated. Any assistance would be greatly appreciated.

Thank you!

1 Like

Found this post on gist.github.com

From that post

sudo rm /var/lib/ubuntu-release-upgrader/release-upgrade-available
sudo /usr/lib/ubuntu-release-upgrader/release-upgrade-motd

Others reported HTTPS certificate issue

Another solution found on serverfault.com:

sudo apt reinstall ubuntu-release-upgrader-core
1 Like

My apologies, I didn’t get that you’re new to the community - just read your post and tried to help.

So now: Welcome to the community!