How to Configure Linux Mint 21 Automatic Updates

Keep your Linux Mint 21 up-to-date and bug-free with automatic updates. Learn how to set them up with our step-by-step guide.

Linux Mint is a popular Ubuntu-based Linux distribution known for its with-user-in-mind approach, user-friendly interface, and stability. One of the key features of Linux Mint is its ability to update itself automatically, ensuring that your system is always up-to-date with the latest security patches and software updates.

However, while keeping your system updated with the latest security patches and bug fixes is always a good idea, manually checking for updates and installing them can be tedious and time-consuming.

For this reason, in this tutorial, we will guide you through configuring automatic updates on Linux Mint 21, so your system stays secure and up-to-date, eliminating the need for constant manual interventions.

(Optional) Set Automated System Backup

We strongly recommend you set up automated system backups before configuring automatic updates on your Linux Mint 21 system. This ensures that you can quickly restore the system to its previous working state if something goes wrong with the updates.

Linux Mint offers a great tool for this, included by default in the distro – the Timeshift app. It is a system restore tool that allows users to take snapshots of their system at different points in time. In addition, Timeshift can also be used to back up and restore user data, such as documents, pictures, and music.

Launch the application and click the “Settings” button to set automatic backups with Timeshift.

Timeshift app.
Timeshift app.

Set the backup type on the “Schedule” tab. We recommend you choose “Weekly,” which is entirely reasonable. Finally, click the “OK” button.

Set automated system backup on Linux Mint 21 with Timeshift.
Set automated system backup on Linux Mint 21 with Timeshift.

Remember that the system snapshots are saved into a newly created “timeshift” directory on the root “/” partition, so make sure you have enough free space. Because system snapshots are incremental, only the first snapshot takes up a lot of space. After that, all subsequent ones only take up space for changed files.

Setting Automatic Updates on Linux Mint 21

Configuring automatic updates on your Linux Mynt 21 system is easy and can be done through the Update Manager application. Select “Administration” from the start menu to open it, then pick “Update Manager.“

Launch the Update Manager app.
Launch the Update Manager app.

When the application opens, choose “Preferences” from the “Edit” menu.

Open Update Manager preferences.
Open Update Manager preferences.

Select the “Automation” tab, then turn on the toggle switch for “Apply updates automatically.“ The Update Manager app will ask you for your password. Enter it and hit the “Authenticate” button to confirm.

Setting up Linux Mint 21 automatic updates.
Setting up Linux Mint 21 automatic updates.

You’re almost ready. Switch on the other three options listed on the screen below; explanations of each are provided below. Finally, close the window.

Setting up additional automatic updates.
Setting up additional automatic updates.

Mint’s Cinnamon spices are additional software components that can be installed on top of the Cinnamon desktop environment in Linux Mint. These spices can add new features, enhance existing ones, or customize the desktop experience according to the user’s preferences.

Some Linux Mint Cinnamon Spices examples include applets, desklets, extensions, themes, and icons. Enabling the “Update Cinnamon spices automatically” option ensures you’ll always have the most up-to-date, bug-free user experience.

Update Flatpaks automatically” is another helpful feature in Linux Mint 21. As a result, any extra Flatpak applications you install will always stick to their latest versions.

Over time, new Linux kernel updates appear. However, when you install them, the older versions are not automatically removed, and even though they are no longer in use, they use disk space. The “Remove obsolete kernels and dependencies” option automatically removes unused Linux kernel versions from your Linux Mint 21 system. But don’t worry – your manually installed kernels will not be removed automatically.

Allow Mint’s Automatic Updates Using Command Line

In addition to the graphical interface of the Update Manager application, Linux Mint 21 lets you set automatic updates via the command line with a single command.

sudo mintupdate-automation upgrade enable
Setting up automatic updates on Linux Mint 21 using the command line.
Setting up automatic updates on Linux Mint 21 using the command line.

However, only automatic updates will be enabled; the other three options, updating Cinnamon spices, Flatpak apps, and automatically cleaning up old Kernel versions, will remain disabled by default.

Setting up Linux Mint 21 automatic updates.
Setting up Linux Mint 21 automatic updates.

To enable them, follow the above steps via the Update Manager GUI.

Conclusion

Configuring automatic updates in Linux Mint 21 is an essential step toward maintaining the security and stability of your system. By enabling them, you can ensure your system is always up-to-date with the latest security patches and bug fixes without manually checking for updates.

It is worth noting that while automatic updates can help ensure your system’s security and stability, they can also introduce new issues or conflicts. Therefore, it is always recommended to have a backup plan in place, such as regularly backing up your data or creating a system restore points, in case any issues arise during the update process. We’ve shown you how to do this using the Timeshift app.

I hope you found this guide helpful. Any suggestions and comments are welcome in the comments section below.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%

Leave a Reply

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