Posts

Hard times upgrading Ubuntu 20.04 to 22.04

Image
Recently, I decided to do a reinstall of Ubuntu 20.04 on my home computer.  This is what it came shipped with.  The overall process was a breeze, as Dell has made factory re-installs a snap (no pun intended).  However, I ran into issues when attempting to upgrade Ubuntu 20.04 to Ubuntu 22.04.  I kept getting the following error whenever I attempted to run  scott@scott-Precision-3650-Tower : ~ $ sudo do-release-upgrade 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. I then checked into the firewall on my system, and made sure 1022/TCP was open, per many posts on the web.  Still no go.   Luckily, I found a post from Reddit user PhoenixOneThree who mentioned that adding the following lines to your /usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py file would allow the upgrade to run.   import ssl ssl._create_default_https_context = ssl._create_unverified_