Stop Ubuntu from running Auto Upgrades at boot – #DEVOPS

Views: 4514Devops need to automatically install stuff on Ubuntu, however this clashed with the daily ubuntu auto update. The best way to stop autoupgrades is to prevent Ubuntu from download the updated package list Edit¬†/etc/apt/apt.conf.d/20periodic or whatever number it is Change the 1 for¬†Update-Package-Lists to a 0 APT::Periodic::Update-Package-Lists “0”; APT::Periodic::Unattended-Upgrade “1”; See: https://askubuntu.com/questions/9/how-do-i-enable-automatic-updates https://help.ubuntu.com/community/AutomaticSecurityUpdates https://debian-handbook.info/browse/stable/sect.regular-upgrades.html … Continue reading Stop Ubuntu from running Auto Upgrades at boot – #DEVOPS