
do-release-upgrade: command not found
if you come across the following error while trying to upgrade from Ubuntu 20.04 to Ubuntu 22.04.
do-release-upgrade: command not found
Use the following command to resolve.
sudo apt install sudo do-release-upgrade
Now it will be possible to upgrade your Ubuntu distro to 22.04.
sudo do-release-upgrade -d