• Skip to main content
  • Skip to primary sidebar
  • Home
  • WordPress
  • web Hosting
  • linux
  • mysql
  • nginx
  • apache2
  • devops

Raju Ginni

wordpress tutorials seo hosting etc

You are here: Home / Linux sysadmin tutorials linux system administrator / Upgrade Ubuntu from 18.04 (19.10) to 20.04 LTS command line or gui server | desktop

Upgrade Ubuntu from 18.04 (19.10) to 20.04 LTS command line or gui server | desktop

server command line mode
(Note you can upgrade from 18.04 lts or 19.10 to 20.04 LTS)

Table of Contents

Toggle
    • #1 create backup of your environment
  • #2 upgrade the installed packages first
  • #3 install Ubuntu update manager
    • #3.1 verify promt line update manager (important)
  • #4 upgrade to new ubuntu 20.04 LTS
  • Upgrading in desktop 18.04 to 20.04 ubuntu focal fossa
    • Ubuntu version code names & their support

#1 create backup of your environment

most LTS  upgrades run smoothly. maybe there will be a issue so it’s better to take backup.
or your data kept safe in another disk partition.
it’s ok to run upgrade
You can upgrade to Ubuntu 20.04 LTS from either Ubuntu 18.04 LTS or Ubuntu 19.10.(source official page of ubuntu)

#2 upgrade the installed packages first

sudo apt-get update && sudo apt-get upgrade

#3 install Ubuntu update manager

sudo apt install update-manager-core
update manager installs by default incase not yet then run the above command

#3.1 verify promt line update manager (important)

Make sure the Prompt line in /etc/update-manager/release-upgrades is set to ‘normal’ if you are using 19.10, or ‘lts’ if you are using 18.04 LTS.
nano /etc/update-manager/release-upgrades
promt=lts(lts versions)
or
prompt =normal
otherwise you can’t get the update.

#4 upgrade to new ubuntu 20.04 LTS

sudo do-release-upgrade
sudo do-release-upgrade on 19.10
sudo do-release-upgrade -d  18.04(LTS)
The -d switch is necessary to upgrade from Ubuntu 18.04 LTS
add 1022 as exception for firewall ufw (iptables)
iptables -I INPUT -p tcp –dport 1022 -j ACCEPT’
run above comnand to safely connect with another port, incase of port 22 blicked due to failure of upgrade.
click yes, when it asks for “do you still want to upgrade”
also indicates removable,upgrdable and newly installable packages,
Remove obsolete packages?
Y
Restart the server
login again
check linux distribution version
lsb_release -a
also read installing apache server on 12.04

Upgrading in desktop 18.04 to 20.04 ubuntu focal fossa

sudo apt update && sudo apt dist-upgrade
run
update-manager
a update manager window
will appear run the process & follow instructions just windows gui upfates.
or
System settings>> settings>>Software & Updates” .
Updates(3rdtab) >>
set the Notify me of a new Ubuntu version
any version (19.10) or long-term support (for 18.04)
Alt+f12 to command line
type
update-manager -c (19.10)
update-manager -c -d (18.04)
you get a message like Ubuntu 20.04 LTS is now available
follow the instructions
Troubleshooting
NO valid mirror found.
means bionic, arful,
need to change sourceslist.
based in new ubuntu version.

Ubuntu version code names & their support

20.04 Focal Fossa. Long-term support ends on 2025
18 .04 Xenial lts supports end on 2023
16.04 bionic.  Lts April 2021
14.04 Trustyhair 2019
LTS means long term upto 5 years security updates.
upgrading ubuntu 16.04 to ubuntu 20.04
upgrade may or may not successful.
if update manager promts for update. then its compatible to upgrade current version to latest version.
what’s new in ubuntu 20.04 (Focal Fossa)
Support for new hardware including Intel Comet Lake CPUs and and new architecture (come lake = Intel i10, amd 4th gen)
supports new file system exFAT.
kernel upgrade 4.5 to 5.4
etc.

Primary Sidebar

Linux sysadmin tutorials linux system administrator

  • top 10 apt & apt-get commands (most used) apt vs apt-get
  • If-Else Statements in Shell Scripting
  • linux commands pdf (files & Directories, zip & unzip process, search etc)
  • Find Files with Specific Text on Linux grep find command
  • linux performance tuning inode limit file descriptors tco, kernel etc
  • Variables and Data Types in Shell Scripting
  • Top 10 most used Cat commands with examples (create, view, append files)
  • Ip tables / ufw / firewall d commands for block port ip rate limiting
  • Top 10 zip / tar commands to compress & extract files in linux
  • TOP 10 mv & cp commands in linux to move & copy files in Linux
  • Top 10 GREP Commands in linux to search files directory words strings
  • lsof netstat commands to know listening ports in linux 3 ways
  • Upgrade Ubuntu from 18.04 (19.10) to 20.04 LTS command line or gui server | desktop
  • 3 Ways (SCP, rsync, Sftp) linux server migration between two remote server apache nginx
  • linux system specs commands (CPU, Memory, Disk )speed, type. manufacture
  • linux sysctl command tweaks & hardening
  • linux security limits.conf deciding user limits process limits for nginx server
  • ulimit linux unlimited command unlimto set & know user limits open files file descriptor max user process etc.
  • red hat linux certification cost jobs salary syllabus courses fees
  • ufw firewall commads allow port enable disable ubuntu 20.04
  • ddos attack prevention
  • change ssh port in linux - avoid sshd ddos attacks
  • ping command
  • memcached install ubuntu wordpress
  • check linux version (lsb_release -a) ubuntu debian 32 or 64 bit
  • rsync command linux with examples comparison to scp
  • how to uninstall package in linux ubuntu rpm, yum apt-get
  • increase open file limit linux File descriptor ft nginx , mysql, lemp
  • remove repository ubuntu
  • htop commad memory details virtual vs shard vs resident
  • chown command in Linux with Examples
  • Kill PHP process
  • VIrtual Memory vs RSS Memory vs Shared memory in Linux
  • oom killer fixing it by configuration linux ubuntu
  • Install Lemp nginx mysql php fpm Stack on Debian 11 with repository
  • connect two remote servers linux command line
  • auto start after oom killer Mysql & php fpm nginx etc ubuntu wth systemd or cron job
  • load average Linux 1, 5, 15 min 2,4,8 cores explained
  • Control Structures in Shell Scripting
  • Shell Scripting Roadmap for Beginners to Advanced
  • awk commands with practical examples
  • Shell Scripting Tutorial for Beginners 🚀
  • find Command in Linux with Examples
  • sed Command in Linux with Examples (Beginner to Advanced)
  • Linux Text processing commands in with Examples
  • linux disk management commands
  • fdisk command in linux with examples
  • how to add a new disk in linux
  • Linux mount Command with Examples
  • fstab options with examples
  • Top 50 Shell Scripting Interview Questions and Answers
  • Linux Networking Interview Questions and Answers
  • Linux Networking Commands Cheat Sheet with Examples pdf
  • Netstat & SS Commands cheat sheet with examples Interview Questions
  • Nmap Cheat Sheet – Network Scanning & Security
  • Bash Brackets ([], (), {}, $( ), $(( ))) – Types, Uses & Examples

hi i am raju ginni, primalry i manage wordpress websites on GCP cloud platform as a cloud engineer, and create content on passionate things.
you can follow me on youtbe

© 2025 - All Rights Reserved Disclaimer & Privacy Policy