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 SimpleScreenRecorder and Use it For Screen Recording in Ubuntu

Screen video recorder can be very useful tool for YouTube creators who publish step-by-step video guides for software installation...
29/12/2020

Install NPM NodeJS Package Manager on Ubuntu

How to Install and Use NPM (Node Package Manager) on Ubuntu 17.10 JavaScript is one of the most popular programming language...
12/02/2020

Install Latest Developer Tools and IDEs on Ubuntu using Ubuntu Make

Ubuntu Make is a command line utility for installing latest version of developer tools and IDEs (i.e PHPStorm, WebStorm,...
29/12/2020
Bài Viết

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

Dịch vụ thuê mua proxy US UK uy tín, chất lượng số #1
13/05/2024

Thuê mua proxy Việt Nam: Báo giá & các thông tin MỚI NHẤT
13/05/2024

Dịch vụ thuê mua proxy giá rẻ an toàn, tốc độ cao
13/05/2024

Thuê mua proxy V6 uy tín, chất lượng tại đâu?
11/05/2024

Thuê mua proxy Tiktok tăng doanh thu, hiệu quả cao
11/05/2024