How to Disable Automatic Updates in Ubuntu


The well-known Linux distribution Ubuntu frequently gets updates to repair bugs, boost security, and introduce new features. By default, Ubuntu is configured to automatically download and install updates. While this is a convenient feature, it can be problematic for users who have limited bandwidth or who prefer to manually manage updates. You may disable automatic updates in Ubuntu in a number of ways using the instructions in this post.

How To Disable Automatic Updates In Ubuntu

There are two most common and easy ways to disable the automatic updates in Ubuntu operating system and those are:

  • From command line
  • From GUI

Method 1: Disabling Automatic Updates using Ubuntu Command Line

This method is suitable for the users who are comfortable using the Ubuntu terminal and good with working on commands. So, perform the subsequent steps to turn off the automatic updates:

Step 1: Use “Ctrl+Alt+T” to launch the terminal and open the upgrades files in nano editor, for that type the command listed below:

 

sudo nano /etc/apt/apt.conf.d/20auto-upgrades

Text Description automatically generated

Step 2: Add the upcoming lines to the file:

 

APT::Periodic::AutocleanInterval "0";

APT::Periodic::Unattended-Upgrade "1";

APT::Periodic::Download-Upgradeable-Packages "0";

APT::Periodic::Update-Package-Lists "0";

Press “CTRL+X” [Exit] then “Y” [yes] and “Enter” to save the file:

Warning: Please be aware that turning off automatic updates could expose your system to security risks, thus doing so is not advisable.

Method 2: Disabling Automatic Updates Using Ubuntu GUI

An alternative way for disabling updates on Ubuntu is by using its GUI as this method is feasible for the users who are not good at using terminal. So, perform the subsequent steps to turn off the automatic updates:

Step 1: From the app’s menu, launch the “Software & Updates” app by searching it in its search bar:

Step 2: First choose “Automatically check for updates:” by clicking the “Updates” tab. The options here are “Never”, “Every two days”, “Weekly,”, “Monthly” and “Every day,” so in that case chose the “Never” option:

Conclusion

Users who wish to manage when and how updates are installed on their system can benefit from turning off automatic updates in Ubuntu. You can stop Ubuntu from installing updates automatically by following the instructions in this article, giving you complete control over how often your system is updated. It’s crucial to keep in mind that regular updates are required to maintain the security and reliability of your system, so it’s advised to manually check for and apply updates.

Print Friendly, PDF & Email
Categories