X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0a20dc708587ac216694ef9b3e0632035038cb6e..1bc8da5f3a3bfd6c3f0ba374f12d489d13831460:/cookbooks/apt/templates/default/apt.conf.erb?ds=sidebyside diff --git a/cookbooks/apt/templates/default/apt.conf.erb b/cookbooks/apt/templates/default/apt.conf.erb index b0552bbc1..8943458e9 100644 --- a/cookbooks/apt/templates/default/apt.conf.erb +++ b/cookbooks/apt/templates/default/apt.conf.erb @@ -3,3 +3,11 @@ // Do automatic removal of new unused dependencies after the upgrade // (equivalent to apt-get autoremove) Unattended-Upgrade::Remove-Unused-Dependencies "<%= node[:apt][:unattended_upgrades][:remove_unused_dependencies] ? 'true' : 'false' %>"; + +// Don't install recommended packages as we don't want to get +// new postgres versions automatically +APT::Install-Recommends "false"; + +// Briefly wait for lock on dpkg/apt +// to avoid concurrent issues with unattended-upgrades and apt daily +DPkg::lock::timeout 90;