Linux 12 - Upgrade Ubuntu 18.04 to 20.04

By Sheldon L Published at 2020-04-24 Updated at 2020-04-24


# check os version
cat /etc/os-release
lsb_release -a
hostnamectl
# check kernel version
uname -mrs

cat /etc/issue
sudo apt update && sudo apt upgrade
sudo reboot

sudo apt --purge autoremove

sudo apt install update-manager-core
sudo do-release-upgrade [-d]  # -d if There is no development version of an LTS available
sudo reboot
lsb_release -a
tail -f /var/log/my-app.log
uname -mrs
# software-properties

cd /etc/apt/sources.list.d/
ls -l
cat google-chrome.list

sudo vim google-chrome.list
# You will see:
# # You may comment out this entry ...
# # deb [arch=amd64] http://dl.google.com/linux/chrome/deb/...

# You can remove the ‘#’

sudo apt-get update && sudo apt-get dist-upgrade -f