Last active
May 7, 2019 06:38
-
-
Save DamionDamion/cbd36a51d97d495951c4ade378c770ca to your computer and use it in GitHub Desktop.
Lazy unattended upgrades what could go wrong
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APT::Periodic::Update-Package-Lists "1"; | |
APT::Periodic::Download-Upgradeable-Packages "1"; | |
APT::Periodic::AutocleanInterval "7"; | |
APT::Periodic::Unattended-Upgrade "1"; | |
Unattended-Upgrade::Mail "**EMAIL HERE**"; | |
// Automatically upgrade packages from these | |
Unattended-Upgrade::Origins-Pattern { | |
"o=Debian,a=stable"; | |
"o=Debian,a=stable-updates"; | |
"o=Debian,a=*-backports"; | |
"origin=Debian,codename=${distro_codename},label=Debian-Security"; | |
}; | |
// You can specify your own packages to NOT automatically upgrade here | |
Unattended-Upgrade::Package-Blacklist { | |
// "vim"; | |
// "libc6"; | |
// "libc6-dev"; | |
// "libc6-i686"; | |
}; | |
Unattended-Upgrade::MailOnlyOnError "true"; | |
Unattended-Upgrade::Automatic-Reboot "false"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------# | |
# OFFICIAL DEBIAN REPOS | |
#------------------------------------------------------------------------------# | |
###### Debian Main Repos | |
deb http://deb.debian.org/debian/ stable main contrib non-free | |
deb-src http://deb.debian.org/debian/ stable main contrib non-free | |
deb http://deb.debian.org/debian/ stable-updates main contrib non-free | |
deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free | |
deb http://deb.debian.org/debian-security stable/updates main | |
deb-src http://deb.debian.org/debian-security stable/updates main | |
deb http://ftp.debian.org/debian stable-backports main | |
deb-src http://ftp.debian.org/debian stable-backports main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment