How to Upgrade to a New Ubuntu Version

29/12/2020
Upgrading to a newer version of Ubuntu is a pretty simple and straightforward process. The entire upgrade procedure is quite seamless and you can even leave it unattended. However, system breakage during upgrade is not unheard of as it is impossible to cover all use cases especially when third party apps are installed on a system. There is always a chance that something may break during or after system upgrade.

This article will list various ways using which you can upgrade to a newer version of Ubuntu and how can you prevent a system breakage during upgrade process.

Preparation and Backup

Before upgrading to a new version of Ubuntu, you are advised to take a backup of your important files and folders on an external drive. Any third party packages may create dependency conflicts during upgrade process so you should remove them manually using a GUI app like Synaptic package manager or using “ppa-purge” command in a terminal. You should also close all running apps before initiating the upgrade process.

If you are not in a hurry to upgrade and care about stability, wait for around two-three weeks for crucial bug fixes to land if there are any. Every Ubuntu release comes with a set of release notes and they are available on Ubuntu ISO image download page. Make sure to have a look at them before upgrading, specially “known issues” section. A link to these release notes is also shown when you upgrade from update-manager GUI app.

Even though Ubuntu updater inhibits system from sleeping, you should manually disable suspend and hibernation just to be safe. It goes without saying that your system must have at least 50% battery. Ideally you should have it connected with external power source during upgrade.

Graphical Method

If you haven’t changed default updates settings, you will automatically receive a notification whenever a new version of Ubuntu is available for your system. As the update is rolled out in phases, it may arrive a few days later after the official release announcement.

You can also manually check the update by launching “Software Updater” app, but as stated earlier, it may not show an update prompt if the phased roll out hasn’t reached you yet. Long Term Support (LTS) release upgrades are usually deferred to next point release. In case you see an upgrade button, click on it to initiate the upgrade process.

At any point of time, you can change the type of release to upgrade to. Launch “Software and Updates” app and go to “Updates” tab. Click on dropdown menu next to “Notify me of a new Ubuntu version”. From there, you can choose to get update notification for the next stable Ubuntu release or a Long Term Support (LTS) release. No option is available to update to Ubuntu versions that are under development. If in case you want to get the latest development build of Ubuntu, you will have to use force update method explained below.

Force Update Method

It is possible to ignore the phased rollout and force an update your system. To do so run the command below:

$ sudo update-manager -d

A word of warning, running the command above will allow you to upgrade to a newer Ubuntu version, irrespective of if it has been officially released or not. In simple words, this command may show an upgrade notification for a Ubuntu version that is under development and not yet stable.

Command Line Method

To upgrade to a newer version of Ubuntu through command line, run the following commands in order and follow the terminal prompts.

$ sudo apt install update-manager-core
$ sudo do-release-upgrade

You will be asked for a confirmation once the preliminary upgrade process has finished.

Conclusion

These are few methods that can be used to upgrade Ubuntu to a newer version. A new version of Ubuntu brings in updated kernel, new system libraries and a fresh software stack. Ubuntu follows two release cycles, a short term release supported for nine months and a Long Term Support (LTS) release supported for 5 years. If you prefer using a using a stable and secure OS for a long period of time and don’t care for new app versions, consider upgrading to LTS versions only. If you want the latest software, kernel and GPU drivers, get a short term Ubuntu release and then upgrade it every nine months.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

How to Install Samba on Ubuntu

In this article, I am going to show you how to install Samba on Ubuntu and share files with Windows and other Linux computers....
29/12/2020

How to Reset Ubuntu to Factory State

If you are a Linux user, chances are that you may have broken your distribution’s operating system (OS) at some point...
29/12/2020

How To Install Bitcoin Core on Ubuntu

In this article, I will talk about what Bitcoin is, what a Bitcoin wallet is, how to install Bitcoin core on Ubuntu and how...
12/02/2020
Bài Viết

Bài Viết Mới Cập Nhật

SỰ KHÁC BIỆT GIỮA RESIDENTIAL PROXY VÀ PROXY DATACENTER
17/02/2024

Mua Proxy v6 US Private chạy PRE, Face, Insta, Gmail
07/01/2024

Mua shadowsocks và hướng dẫn sữ dụng trên window
05/01/2024

Tại sao Proxy Socks lại được ưa chuộng hơn Proxy HTTP?
04/01/2024

Mua thuê proxy v4 nuôi zalo chất lượng cao, kinh nghiệm tránh quét tài khoản zalo
02/01/2024