Ubuntu disable automatic updates

From Notes_Wiki

Home > Ubuntu > Disable automatic updates


Disable automatic-update via CLI

We can disable automatic update in Ubuntu via CLI using:

  1. Edit '/etc/apt/apt.conf.d/20auto-upgrades' so that it has:
    APT::Periodic::Update-Package-Lists "0";
    APT::Periodic::Download-Upgradeable-Packages "0";
    APT::Periodic::AutocleanInterval "0";
    APT::Periodic::Unattended-Upgrade "0";


Disable automatic-update via GUI

We can disable automatic update in Ubuntu via GUI using:

  1. Go to "Software" -> "Software and updates"
  2. Go to "Updates" tab
  3. Again "Automatically check for updates" select Never


Refer:


Home > Ubuntu > Disable automatic updates