By Sheldon L | Published at 2020-04-24 | Updated at 2020-04-24 |
Refer to Upgrade Ubuntu 18.04 to 20.04 LTS using command line
Check OS and kernel version
# check os version
cat /etc/os-release
lsb_release -a
hostnamectl
# check kernel version
uname -mrs
cat /etc/issue
Create a backup of your server or vm.Systemback Usage in Ubuntu desktop
Upgrade
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
Upgrade Ubuntu To 20.04 LTS Focal Fossa desktop system
Software & Updates
Setting in System Settings.Updates
Set the “Notify me of a new Ubuntu version” drop down menu to “For long-term support versions” if you are using 18.04 LTS; set it to “For any new version” if you are using 19.10.
Open the terminal: update-manager -c -d
or /usr/lib/ubuntu-release-upgrader/check-new-release-gtk
if the former command faild
Upgrade