Howto upgrade ubuntu
ubuntu 20.04 to 22.04 lts
update repo and upgrade current packages:
apt update && sudo apt upgrade -y && apt autoremove -y
reboot system:
reboot
install upgrade manager:
apt -y install update-manager-core
upgrade system:
do-release-upgrade