Comment mettre à jour Linux Mint vers Mint 21

How to upgrade Linux Mint to Mint 21

Linux Mint is one of the most popular Linux distributions at the moment. Why ? Partly thanks to its easy-to-learn Cinnamon interface. It works perfectly on PCs that are not compatible with Windows 11. The operating system is also fast, secure and works well. However, upgrading from one major version to another is tricky. If you want to do it anyway, here’s a step-by-step guide.

First of all, some clarifications. This update is not recommended if you have never used a Linux command prompt before. While switching from one minor release to another takes just a few clicks, Mint 21 doesn’t.important update“, who “can take several hours“.

  • Necessary material : USB key
  • Estimated time : 1 hour.

Update and backup

To get started, launch the Update Manager. The latter is supposed to start automatically on a one-time basis, but if you’re not used to updating, you may have to wait a few minutes before moving on to the next step.

While you’re at it, also backup your system and files with the backup tool. Since we’re talking about a system-wide update here, back up your software selection as well as your personal data. So if something goes wrong, you can always roll back.

Then use Timeshift to create a system image. You will be able to restore your system in case of problems.

Create a recovery drive

Download the Linux Mint 21 ISO and install it on a USB stick of at least 4 GB, that way, if your computer no longer boots with Mint 21, you will be able to boot from this USB stick. Once your computer is up and running again, you can run Boot Repair to fix your startup sequence.

If that doesn’t work, reboot from your key and run Timeshift. This program will scan your drives for system images. Once you find the image you just created, you can restore your computer using the system image. You will then go back to your previous version of Mint.

But enough of warnings and precautions. After installing many Mint updates, we never really had any problems. Therefore, it is time to embark on the update itself.

Prepare your machine for installation

The first step is to open your terminal. Yes, we have to use some shell commands for the update. Don’t worry, nothing too bad.

Simply enter the following commands:

$aptupdate

$ apt install mintupgrade

The first command ensures that your computer will use the latest files for your update. The second command installs the program that will manage the update.

Then start by typing:

$ sudo mintupgrade

That’s it for shell commands. It’s not very hard ?

Upgrade to Linux Mint 21

Upgrade to Linux Mint 21

Image :
Steven Vaughan-Nichols/ZDNet

The update tool is designed to be as simple as possible. Ideally, you just have to press a few buttons and you’re good to go.

Please note that the update may take some time, “several hourssame according to the developers, but if you have recent hardware and a good internet connection, it shouldn’t take much more than 45 minutes.

However, in our case, the process did not go smoothly. The update tool found several “orphaned” programs. Actually, these were not orphan programs per se, but software installed outside of the native Debian/Ubuntu/Mint repositories.

Beware of orphaned package issues

Linux Mint 21 Orphaned Packages

Image :
Steven Vaughan-Nichols/ZDNet

On our test machine, we had installed Insync, a program that syncs Google Drive, OneDrive, and Dropbox with the Linux desktop, ProtonVPN, QFinder Pro (a utility for QNAP NAS), and Zoom.

ProtonVPN Packages

Image :
Steven Vaughan-Nichols/ZDNet

The update software asked us what to do with these packages as they are unknown to the system. Unfortunately, to keep them, you have to manually enter the name of each orphaned package in the Preferences. A particularly painful process for programs like ProtonVPN, which relies on five different packages.

As the Linux Mint maintainer explained, this step is “an obligation“, because it is “the number one cause of failed updates“. We just would have liked the interface to be more ergonomic.

However, after this step was completed, the software update did not cause us any problems.

an operating system

Is it worth the process then? To make it short, yes. Mint 21 is significantly more efficient and faster than version 20.3. We’ll go into more detail about this version in our next test, but we can already tell that it’s an improvement over the last version.

Frequent questions:

Why use Linux Mint?

Simply because it is a secure, easy to use and elegant operating system that both individuals and companies can use for free.

Why use Mint and not Arch? Debian? Ubuntu?

All Linux distributions have their pros and cons. We chose Mint because it’s easy to use and easy to use for people who already know Windows, which is pretty much everyone. The only exception is for companies that need to manage a fleet of computers. In this case, it is better to adopt Red Hat Enterprise Linux Workstation, SUSE Linux Enterprise Desktop (SLED), or Ubuntu Advantage. All of these solutions benefit from a business assistance program.

Source: “ZDNet.com”


#upgrade #Linux #Mint #Mint

Leave a Comment

Your email address will not be published.