Howto upgrade ubuntu: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
(Created page with "= ubuntu 20.04 to 22.04 lts = update repo and upgrade current packages: apt update && sudo apt upgrade -y reboot system: reboot install upgrade manager: apt -y install update-manager-core upgrade system: do-release-upgrade")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
= ubuntu 20.04 to 22.04 lts =
= ubuntu 20.04 to 22.04 lts =
update repo and upgrade current packages:
update repo and upgrade current packages:
  apt update && sudo apt upgrade -y
  apt update && sudo apt upgrade -y && apt autoremove -y
reboot system:
reboot system:
  reboot
  reboot
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