How to update Linux Mint to 20

Recently released a new version of the distribution Linux Mint 20 based on the LTS release of Ubuntu 20.04. In this new version updated environment Cinnamon to 4.6, improved appearance, improved support for Nvidia Optimus, added a new file transfer tool for LAN called Warpinator, application support Electron.

However, the new version of Linux Mint does not support 32 bit architecture, and the developers refused to transition to the package Manager snap. In this small article we will consider how to upgrade Linux Mint 19.3 20 code name Juliana.

  • How to update Linux Mint to 20
    • 1. Architecture
    • 2. Upgrade packages
    • 3. Install mintupdate
    • 4. Readiness check
    • 5. Download pack
    • 6. Update
    • 7. Check
  • Insights

How to update Linux Mint to 20

Please note that updating is a dangerous procedure that can damage your system and your files. so better copy the important files to another drive or external media.

1. Architecture

The update is only available for 64 bit systems, because 32-bit architecture in the new version is no longer supported. If you have installed a 32-bit system on a 64 bit processor, then you will have to reinstall it to get the new version. To view architecture of the system follow:

dpkg --print-architecture

If the command will display amd64, then all is well and you are using a 64-bit architecture, i386 if you need to reinstall.

2. Upgrade packages

Before you upgrade a Linux Mint to a newer version you should update all deb packages installed on the system. To do this, run:

sudo apt update && sudo apt upgrade

3. Install mintupdate

The developers of Linux Mint have released a special utility for updating the distribution until the next release called mintupgrade. To install it run:

sudo apt install mintupgrade

4. Readiness check

This step is not mandatory, but it is better to perform. Command to check you can check whether your system update and see what packages are upgraded or removed. The utility will replace your repository to the new one and show what changes will be made to the system. It’s kind of a test run:

sudo mintupgrade check

Utility requires that your system was installed timeshift, and also created pictures of the system, which would allow her to recover in case of problems. If you don’t want to do enough to create an empty file /etc/timeshift.json:

touch /etc/timeshift.json

After verification is complete, the utility displays a message that the simulation update was successful:

If there were any conflicts of packages, they should be resolved before upgrading, to avoid problems in the process.

5. Download pack

Before you upgrade, you must download the packages that need to be updated. The command only loads the necessary packages without upgrading anything, you can still change your mind:

sudo mintupgrade download

6. Update

After this step, already is no way back, your repository will be replaced by the repository a new version of the system, and the packages will be updated. To return the system to its previous state will be possible only if you created a snapshot using Timeshift. To start the update:

sudo mintupgrade upgrade

The update will affect a very large number of packages and may take a long time depending on the power of your CPU. Last chance to change your mind:

During the upgrade you will need to select the shift key layouts:

Do I need to restart the systemd service from the package after reinstalling:

The update takes a very long time, and in the process you need from time to time to get back to the computer to enter the password. I have these requests was three. Apparently the update is installed in stages and need some time to run the batch Manager. When the upgrade is complete you will receive this message:

Restart the computer from the menu or command in the terminal:

sudo reboot

7. Check

Now you can check the system version by opening the file /etc/os-release. As you can see, here now given the new version:

cat /etc/os-release

You can still see the information in the graphics utility On the System:

Insights

Today we discussed how upgrade Linux Mint 19.3 to 20. Thanks to the utility from the developers of the distribution mintupgrade, it’s very simple. In any case, much easier than manually changing the repository and resolve the conflicts arisen between established and new batches. And you have already upgraded to Linux Mint 20? How do you like the new system? Write in the comments!

Source: losst.ru

(Visited 72 times, 1 visits today)