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
install screen:
apt -y install screen
initiate screen:
screen
upgrade system:
do-release-upgrade
reboot system when finish:
reboot
verify version:
lsb_release -a
purge uneeded packages:
apt -y autoremove --purge
remove snapd:
apt -y remove --purge snapd