chiark / gitweb /
buildserver: force no auto updates of package lists or upgrades
authorHans-Christoph Steiner <hans@eds.org>
Wed, 17 Jan 2018 20:04:08 +0000 (21:04 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 22 Jan 2018 12:49:10 +0000 (13:49 +0100)
buildserver/provision-apt-get-install

index 70f9acd8ca0169cfa89a8aa69233911abf16a736..ef4ad1ee06fad08bb3ab2d4d8459775e3dd6237d 100644 (file)
@@ -12,6 +12,9 @@ printf 'APT::Install-Recommends "0";\nAPT::Install-Suggests "0";\n' \
 printf 'APT::Acquire::Retries "20";\n' \
        > /etc/apt/apt.conf.d/99acquire-retries
 
+printf 'APT::Periodic::Update-Package-Lists "0";\nAPT::Periodic::Unattended-Upgrade "0";\n' \
+       > /etc/apt/apt.conf.d/99no-auto-updates
+
 if echo $debian_mirror | grep '^https' 2>&1 > /dev/null; then
     apt-get -y update
     apt-get -y install apt-transport-https