Howto upgrade ubuntu: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
install upgrade manager:
install upgrade manager:
  apt -y install update-manager-core
  apt -y install update-manager-core
install screen:
apt -y install screen
initiate screen:
screen
upgrade system:
upgrade system:
  do-release-upgrade
  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

Latest revision as of 16:11, 19 January 2025

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