- Upgrades¶
- Long Term Support¶
- Upgrade Paths¶
- Types of upgrade¶
- Minor¶
- Major¶
- Alternatives¶
- Как обновить Linux Mint до новой версии
- Создание резервной копии
- Подготовка
- Обновление Linux Mint
- Перезагрузка компьютера
- How to upgrade to Linux Mint 20¶
- Requirements¶
- 64-bit architecture¶
- Experience with APT¶
- Preparation¶
- Apply all package updates¶
- Create a system snapshot¶
- Purge PPAs and 3rd party repositories¶
- Upgrade¶
- Install the upgrade tool¶
- Check the upgrade¶
- Download the package updates¶
- Apply the upgrades¶
- Downgrade foreign packages¶
- Delete foreign packages¶
- Troubleshooting¶
- Installing mintupgrade¶
- Restoring a snapshot¶
- Skipping the timeshift requirement¶
- Computer freeze¶
- Broken boot¶
- Boot warnings¶
- Notes¶
- Alternatives¶
Upgrades¶
To find your version of Linux Mint, open a terminal and type:
Long Term Support¶
Each major Linux Mint release is supported for 5 years.
Version | Supported until |
---|---|
17, 17.1, 17.2, 17.3 | April 2019 |
18, 18.1, 18.2, 18.3 | April 2021 |
19, 19.1, 19.2, 19.3 | April 2023 |
20, 20.1, 20.2, 20.3 | April 2025 |
21, 21.1, 21.2, 21.3 | April 2027 |
Upgrade Paths¶
The table below shows the upgrade paths between the various Linux Mint releases.
From version | To version | Type of upgrade | Tutorial |
---|---|---|---|
17 | 17.3 | Minor | https://blog.linuxmint.com/?p=2955 |
17.1 | |||
17.2 | |||
17.3 | 18 | Major | https://community.linuxmint.com/tutorial/view/2316 |
18 | 18.3 | Minor | https://blog.linuxmint.com/?p=3462 |
18.1 | |||
18.2 | |||
18.3 | 19 | Major | https://community.linuxmint.com/tutorial/view/2416 |
19 | 19.3 | Minor | https://blog.linuxmint.com/?p=3838 |
19.1 | |||
19.2 | |||
19.3 | 20 | Major | https://linuxmint-user-guide.readthedocs.io/en/latest/upgrade-to-mint-20.html |
20 | 20.3 | Minor | https://blog.linuxmint.com/?p=4216 |
20.1 | |||
20.2 | |||
20.3 | 21 | Major | https://linuxmint-user-guide.readthedocs.io/en/latest/upgrade-to-mint-21.html |
21 | 21.1 | Minor | https://blog.linuxmint.com/?p=4461 |
There are no other upgrade paths than the ones listed above. For instance, you cannot upgrade version 19 to version 20.3 directly, you first need to upgrade it to 19.3, then to 20, then to 20.3.
Types of upgrade¶
Minor¶
Upgrades from one point release to another point release within the same major version of Linux Mint are simple and easy to perform. They take just a few minutes.
Major¶
Upgrades from one major version to the next are usually more complex. They can take up to a few hours. They can require a certain level of knowledge and experience from the user.
Alternatives¶
If you cannot upgrade perform a fresh installation.
Generic instructions on fresh upgrades are also available.
© Copyright 2020, Linux Mint Revision 92937742 .
Versions latest Downloads pdf html epub On Read the Docs Project Home Builds Free document hosting provided by Read the Docs.
Как обновить Linux Mint до новой версии
Рассмотрим, как обновить установленную систему Linux Mint до свежей версии.
Мы будем рассматривать процесс обновления дистрибутива Linux Mint 19.1 до Linux Mint 19.2.
Создание резервной копии
Перед обновлением желательно создать резервную копию важных данных и сделать снимок системы (снапшот).
Снимок системы позволит вам восстановить прежнее состояние системы, если во время обновления возникнут какие-нибудь сбои.
Для создания снимка системы можно использовать программу Timeshift. Запустить программу можно из главного меню из раздела Администрирование ( Administration ) .
Подготовка
Разработчики дистрибутива рекомендуют отключить экранную заставку (скринсейвер) перед началом обновления, так как в некоторых случаях она может заблокировать вам доступ к рабочему столу. Чтобы отключить заставку в главном меню выберите пункт Параметры→Экранная заставка ( Preferences→Screensaver ) .
В открывшемся окне в разделе Настройки заставки установите время задержки в состояние Никогда
Также, если ранее вы устанавливали дополнения Cinnamon spices, обновите их через системные настройки.
Обновление Linux Mint
Теперь можно выполнить обновление дистрибутива.
Запустите утилиту Менеджер обновлений (Update Manager). Для этого в главном меню выберите пункт
Администрирование→Менеджер обновлений ( Administration→Update Manager )
В Менеджере обновлений нажмите кнопку Проверить обновления , чтобы проверить не появилась ли новая версия самой утилиты «Менеджер обновлений» (в которой вы сейчас находитесь): пакеты mintupdate и mint-upgrade-info.
Если есть обновления для пакетов mintupdate и mint-upgrade-info, то отметьте их галочками и нажмите кнопку Установить обновления
Теперь в меню выберите пункт Правка→Обновить до «Linux Mint 19.2 Tina» ( Edit→Upgrade to «Linux Mint 19.2 Tina» ) (версия дистрибутива может отличаться).
Откроется утилита, в которой необходимо выполнить несколько простых шагов.
Вам требуется только нажимать кнопку Следующая ( Next ) . На предпоследнем шаге установите галочку у пункта « Я понимаю риск. Я хочу обновиться до Linux Mint.. » и нажать кнопку Применить .
Начнется процесс обновления системы. Сначала будут загружены новые версии пакетов, затем будет произведена их установка. Процесс может занять продолжительное время.
Перезагрузка компьютера
Когда обновление завершится, необходимо перезагрузить компьютер.
How to upgrade to Linux Mint 20¶
This page explains how to upgrade from Linux Mint 19.3 to Linux Mint 20.
Requirements¶
64-bit architecture¶
Although both 32-bit and 64-bit versions of Linux Mint 19.3 are supported until April 2023, new releases of Linux Mint, including 20, are only available in 64-bit.
To upgrade to Linux Mint 20 you need to be running the 64-bit version of Linux Mint 19.3.
To check which version you’re running type:
If it says amd64 you can upgrade to Linux Mint 20.
If it says i386, it means you’re using the 32-bit version. In this case you cannot upgrade and you need to stick with Linux Mint 19.3.
Experience with APT¶
To upgrade to Linux Mint 20 you need experience with APT and the command line.
Upgrading to a newer package base is not trivial and it should not be performed by novice users.
You need to know how to type commands and read their output.
You also need to be experienced with APT. During the upgrade you’ll need to understand the output of APT commands. You’ll need to understand if a package needs to be removed, if it blocks the upgrade or if it conflicts with another package.
Preparation¶
Apply all package updates¶
- Launch the Update Manager with Menu ‣ Administration ‣ Update Manager .
- Press the Refresh button to update the cache.
- Press the Select All button to select all updates.
- Press the Install Updates button.
- Follow the instructions from the Update Manager and install all updates until the manager tells you the system is up to date.
- Reboot the computer.
Create a system snapshot¶
If anything breaks or if anything goes wrong during the upgrade, you can go back in time and revert all changes by restoring your latest system snapshot. Whatever happens, you’re covered. You’ll be able to restore your operating system to this current state, either from within Linux Mint, or by launching Timeshift from a live Mint session (live DVD or live USB).
To create a system snapshot:
- Launch Timeshift with Menu ‣ Administration ‣ Timeshift .
- Follow the wizard to select a destination for your snapshots.
- In the toolbar, click on the Create button to make a manual snapshot of your operating system.
Purge PPAs and 3rd party repositories¶
PPAs or 3rd party repositories can introduce issues during the upgrade if the versions of the packages they provide are higher than in Linux Mint 20. This can result in unmet dependencies, held packages or resolver issues.
To purge 3rd party packages follow these steps:
- Launch the Software Sources tool from Menu ‣ Administration ‣ Software Sources .
- Open the Additional repositories tab and disable all additional repositories.
- Open the PPA tab and disable all PPAs.
- Click on the button to refresh your APT cache.
- Open the Maintenance tab and click on Downgrade Foreign Packages .
- Select all foreign packages and click Downgrade .
- Click on Remove Foreign Packages .
- Select all foreign packages and click Remove .
- Reboot the computer.
- Create another Timeshift snapshot.
This step is optional but it is strongly recommended. Some PPAs are perfectly fine, some aren’t. Some only add packages and don’t impact the upgrade process, others introduce dependencies which cannot be resolved.
You can leave some foreign packages installed or in their 3rd party version and try to upgrade if you want. If it works, then great. If it doesn’t, you can always restore the previous snapshot and follow the steps above to purge them before trying again.
Upgrade¶
Install the upgrade tool¶
To install the upgrade tool, open a terminal and type:
Check the upgrade¶
To simulate an upgrade, open a terminal and type:
Then follow the instructions on the screen.
This command temporarily points your system to the Linux Mint 20 repositories and calculates the impact of an upgrade.
Note that this command doesn’t affect your system. After the simulation is finished, your original repositories are restored.
The output shows you if the upgrade is possible, and if it is, which packages would be upgraded, installed, removed and kept back.
It is extremely important that you pay close attention to the output of this command.
Keep using mintupgrade check and do not proceed to the next step, until you’re happy with the output.
If this steps fails half-way through type mintupgrade restore-sources to go back to your original APT configuration.
Download the package updates¶
To download the packages necessary to upgrade, type the following command:
Note that this command doesn’t actually perform the upgrade itself, but just downloads the packages.
Apply the upgrades¶
This step is non-reversible. Once you perform it, the only way to go back is by restoring a system snapshot.
To apply the upgrades, type the following command:
Downgrade foreign packages¶
Some of your packages might have a lower version in Linux Mint 20 than in Linux Mint 19.3. To guarantee they function properly, they need to be downgraded.
- Launch the Software Sources tool from Menu ‣ Administration ‣ Software Sources .
- Open the Maintenance tab and click on Downgrade Foreign Packages .
- Select all foreign packages and click Downgrade .
Delete foreign packages¶
Some packages no longer exist in Linux Mint 20 and can safely be removed.
- Launch the Software Sources tool from Menu ‣ Administration ‣ Software Sources .
- Open the Maintenance tab and click on Remove Foreign Packages .
- With the exception of packages you want to keep, select all foreign packages and click Remove .
Troubleshooting¶
Installing mintupgrade¶
If you can’t find mintupgrade in the repositories, switch to the default Linux Mint mirror and refresh the APT cache.
Restoring a snapshot¶
A known issue affects Timeshift. When restoring a snapshot, if the Disclaimer window is empty, wait for about 2 minutes for the text to appear. Once the disclaimer text is there you can press Next and restore your snapshot. Pressing Next before the text appears results in a failure to restore. If you did, reboot and try to restore again.
Skipping the timeshift requirement¶
If you’re using another snapshot tool and would rather not use Timeshift, you can skip the Timeshift requirement with the following command:
echo "<>" | sudo tee /etc/timeshift.json
Don’t forget to remove that file after the upgrade if you want Timeshift to work properly.
Computer freeze¶
On some computers the upgrade can be quite intensive and it can temporarily freeze the desktop. This can last for up to 10 minutes at times or even take hours on slow computers. This is OK, be patient and give it time.
If this becomes a problem, logout completely, drop to console with CTRL+ALT+F2 and run mintupgrade upgrade from there instead.
Broken boot¶
If the computer no longer boots, boot from the live Linux Mint 19.3 ISO.
From the live session, launch Boot Repair and use it to fix the boot sequence.
If this doesn’t work, boot from the live Linux Mint ISO again, and launch Timeshift .
Timeshift is able to scan your drives from the live session and restore your snapshot from there.
Boot warnings¶
You can ignore boot warnings related to ACPI or initramfs unpacking . They’re cosmetic and do not affect the boot sequence.
Notes¶
The upgrade overwrites files in /etc/ with default configuration files. You can restore files indivually by the Timeshift snapshot you made prior to upgrading.
To restore your lightDM settings, run the Login Window configuration tool (sudo lightdm-settings).
Alternatives¶
If you cannot upgrade perform a fresh installation.
Generic instructions on fresh upgrades are also available.
© Copyright 2020, Linux Mint Revision 92937742 .
Versions latest Downloads pdf html epub On Read the Docs Project Home Builds Free document hosting provided by Read the Docs.