Professional Documents
Culture Documents
Upgrade Ubuntu 20.04 LTS To Ubuntu 22.04 LTS 4
Upgrade Ubuntu 20.04 LTS To Ubuntu 22.04 LTS 4
04 LTS:
=> Now run below commands to refresh apt repository and fix dependencies issues in
system.
sudo apt-get update
sudo apt-get install -f
Step 3: After system reboot check the firewall status, if it is active then disable it using
below commands.
sudo ufw status
sudo ufw disable (optional)
=> After above process the another prompt message will appear which give details about
which packages are going to install new, updates and removed.
In this prompt enter "d" to check list of packges to be modified and then "q" to go back to
terminal.
=> Then enter "y" to continue the upgrade process.
=> After above process the new window will open same as below screenshot the give yes
and enter.
=> After above process it will prompt to ask whether obsolate packges to be removed or not.
=> In this screenshot press d to check details and press N to not to remove any packages
because it will also remove clickhouse-client and clickhouse-common which are required for
the NMS.
=> And then another prompt will open which ask to reboot the system. Then press "y" to
reboot it.
=> After system reboot verify the Ubuntu Version in cat /etc/os-release file.
Troubleshoot: In case ssh has been disconnected accidentally then re-login and run below
commands.
screen -ls
=> This command list if any sessions are running in Attached mode.
=> If this shows any sessions are running then run below command to restore it.
screen -x