Skip to content

Instantly share code, notes, and snippets.

@DoZator
Created April 8, 2019 14:16
Show Gist options
  • Save DoZator/9d262676aeafa70b682cef47a5d002cf to your computer and use it in GitHub Desktop.
Save DoZator/9d262676aeafa70b682cef47a5d002cf to your computer and use it in GitHub Desktop.
Disable Automatic Updates (Ubuntu)

Edit /etc/apt/apt.conf.d/20auto-upgrades to disable automatic updates:

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

Switch off the Update-Package-Lists directive from 1 to 0:

APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "1";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment