Howto upgrade ubuntu

From Vidalinux Wiki
Revision as of 16:11, 19 January 2025 by Mandulete1 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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