Upgrading to Linux 20

Linuxrequirements and some essential works before doing the upgrade itself, so we tried to collect as many information as we can to minimize the risk of any kind of failure or any crash during the update, also to check if you system hardware meet the requirements.

Requirements for Installing Linux Mint 20

۶۴-bit Architecture

You might wonder what does have the 64 Bit 64-bit Architecture to do with Linux Mint 20, as we all know the Linux announced that till April of 2023 they will support both 32 Bit and 64 Bit Architecture in Linux mint 19.3, but the story is a little bit different here. Linux Mint 20 is only available for a user to install when they are using a 64-bit Architecture CPU, anything other than that does not allow it to get installed.

Also if you’re trying to upgrade from Linux Mint 19.3 to Linux 20, you’ll need to have the 64 Bit version of the Linux 19.3 installed, unfortunately, it’s not possible to upgrade from the 32 Bit version to the 64-bit version.

In case you don’t know the version of your operation system, run this command in the terminal to show the version of it:

dpkg --print-architecture

The result will be on the screen and if the shown text includes amd64 this means that your operating system is 64 Bit version, in case that the i386 is shown to you it means that you using the 32 operating system and you cant upgrade your system.

Experiencing with APT

For upgrading to Linux Mint 20 you have to know some basic knowledge about the command line and have a short experience of APT codes and features, since upgrading a base Linux is not a simple and easy task, we highly recommend that if you don’t have enough information about the command lines and its result it is much better to ask for help from a professional or someone familiar with the command lines in Linux.

Aside from that you need to be able to need the results of the APT, so in the process of upgrading you need to know that if a problem is interrupting with another program or the package needs to be removed in the time of upgrading, or there might be some packages that are interrupting the upgrade process so we should remove it.

Software Requirements

Updating All Programs

Follow the mentioned directory to update all of the programs:

  • Head to the Menu:Administration: Update Manager and open the Update Manager
  • Click on Refresh to refresh the cache memory on the system and show you the updated list of the programs.
  • Click on select all to chose all of the programs for the update.
  • And finally, click on Install Updates to apply it to all of your programs.
  • Do all the steps on order so till all of the updates are installed and you start to see the System is Up to Date message after that restart your system and head to the next step.

Make a Snap Shot of Your System

If the installation progress faced any issue like sudden freeze or the installation crushed or anything like that, the snapshot gonna save you system, if you prepare a snapshot before doing any change to your system, the system can get restored by the snapshot file that you prepared before all of this changes.

Making a snapshot is gonna give you an assurance that if anything happened to your system you could easily restore it by using a USB stick or CD or DVD.

For making a snapshot file from your system, follow the mentioned directory:

  • Head to the Menu:Administration: Timeshift and try to open the Timeshift program.
  • Keep on using the guide and choose a directory for your snapshot file, we recommend using a USB stick for the directory of it.
  • From the toolbar click on the Create and manually make a Snapshot of your operating system.

Remove PPA and third-party Repository from your system

There is some case when the installed PPA and Repositories have a higher version than the Linux Mint 20 and that might cause some serious problems when you’re trying to upgrade your system, so we try to remove all of it so the risk will get closet to zero.

Follow the mentioned directory for removing the third-party packages:

  • Head to the Menu:Administration: Software Sources and run the Software Sources.
  • Click on the Additional repositories tab and disable all of the repositories.
  • Also, open the PPA tab and disable all of them.
  • Now click on the refresh so the cache memory erases and show you the new results.
  • Open the Maintenance tab and click on the Downgrade Foreign Packages.
  • Click on all of the foreign languages and select Downgrade.
  • Click on the Remove Foreign Packages and select all of the languages and remove them.
  • Finally, restart your system, and make a new snapshot again.

Attention: This part of the installation is not 100 percent necessary but we highly recommend you to do it, some of the PPA won’t interfere with the updating progress, but in some case they create dependencies and that could also lead to some mess, that’s why removing them is the safest way to prevent any problem.


Installing Updating Tools

For installing update tools first type this command in a terminal:

apt install mintupgrade

Check for the update:

mintupgrade check

Then you can start following the guide that will come up to you. This command simulates a clean version of the Linux Mint 20 and the impact that is gonna have on your system, remember that this command is just a simulation and after it’s done the packages and all of your data will get back to your system.

After that the simulation is finished, the output will determine that you can install this update or not, or which pancakes need to be removed from your system and which are upgradable on your system.

Attention: While the operating system is showing you the results, it’s very important to not leave the page until you get the result that you desire, so focus on the output and using mint upgrade check.

In case that this step is frozen or the progress crashed, you can just restore the default APT by typing the mint upgrade restore-sources command in the terminal.

Download Package Update

For downloading the essential package update, type the following command in a terminal:

mintupgrade download

Remember that this command only updates the packages, not the actual operating system.

Installing the Update

Remember that this step is not reversible and the only way to restore your old data and packages is to have Snapshot before doing any of this.

For running the update type the following command in the terminal:

mintupgrade upgrade

Downgrading foreign Language

Some of the packages for running in Linux Mint 20 needs to have a lower version in comparison to Linux Mint 19.3, to make sure that they work perfectly fine, we need to downgrade them to lower versions.

  • Head to the Menu: Administration: Software Sources and run the Sources Tool.
  • Open the Maintenance tab and click on the Downgrade Foreign Packages.
  • Select all foreign packages and click on the Downgrade

Removing Foreign Packages

Some of the packages have a very high chance that they will interrupt the update process, but for the sake of the update process, it’s necessary to remove them to prevent any sudden corruption to the update process.

  • Head to the Menu : Administration: Software Sources and run the Software Sources tool
  • Open the Maintenance tab and click on the Remove Foreign Packages
  • In this step, you can select which apps you want to get removed and which don’t, so you can keep the packages that have important information in safe


Installing mint upgrade

If you can find the mint upgrade in Repositor, you can go to the default Linux Mint mirror and refresh the cache APT memory.

Restoring from a Snapshot

One of the issues that Linux users Encounter often when there trying to install a new update is that they face an empty window during the restoration of the snapshot, if the same situation happened to you, you need to wait for 2 minutes and after the text showed up you can click on Next and restore your snapshot.

In case you click on the next before appearing of the text, the progress would fail and you need to reboot your system and try again the process.

Skipping the timeshift

In some cases you don’t like to use the default snapshot tool, so you want to skip the Timeshift app, in that case, you can skip it by running this command in a terminal:

echo "{}" | sudo tee /etc/timeshift.json

Attention: After you restore your information with the snapshot, if you planning on using the default Timeshift again, remember to remove the file.

The System Freezing

In some devices and systems, these updates could be very heavy and harsh for them, and in the process of updating you might start to see some crashes or lags, or even freezing moments, in older computers the desktop might freeze and take several hours for the process to finish, but it does not mean that its a problem.

If you felt that your pc is not working at all and the updating process is dead instead of freezing, you can open the console by holding the CTRL+ALT+F2 keys and run the mint upgrade from it.

Damaged boot file

In case that your system is no longer able to boot, you can also use the simulation file or demo from the Linux Mint 19.3 or the ISO files, when you succeed to run it correctly, head to the Live section of the Linux Mint 19.3 and run the Boot Repair and let it to repair the boot files.

In case that this didn’t help at all, you can run the demo version of the Linux Mint 19.3 again, but this time open the Timeshift program, time shift is able to check on your drives and information and restore your system by a snapshot.

Leave a Reply

Your email address will not be published. Required fields are marked *