0

The following command was used to upgrade Ubuntu 20.04 to version 22.04: sudo apt update && sudo apt upgrade && sudo apt dist-upgrade && sudo apt-get autoremove && sudo apt install update-manager-core && sudo do-release-upgrade -d

Unfortunately, I get the following error: 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.

3

2 Answers 2

0

This message can occur if your proxy server (eg: apt-cacher-ng) doesn't support HTTPS - to work around this add changelogs.ubuntu.com to the PassThroughPattern directive in its configuration file and restart.

0

Use the commands individually:

sudo apt update
sudo apt upgrade && sudo apt dist-upgrade
sudo update-manager -d

I had issues when downloading packages using a nearby server so try it with the main server.

3
  • Unfortunately, even when I enter the commands separately, upgrad process does not run, and the following error is observed when entering the sudo do-release-upgrade -d command: Checking for a new Ubuntu release Failed to connect to 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 May 2 at 8:49
  • did you set the servers for main server instead of nearby
    – manoj
    May 4 at 2:48
  • yes I set to main server May 5 at 5:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.