X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a62943629fc45519becfbd66176c9238acbeacbd..4d6661bf8df42cf82cbefc820add421eb43a7ce8:/cookbooks/apt/templates/default/apt.conf.erb diff --git a/cookbooks/apt/templates/default/apt.conf.erb b/cookbooks/apt/templates/default/apt.conf.erb index 730678e58..8943458e9 100644 --- a/cookbooks/apt/templates/default/apt.conf.erb +++ b/cookbooks/apt/templates/default/apt.conf.erb @@ -7,3 +7,7 @@ Unattended-Upgrade::Remove-Unused-Dependencies "<%= node[:apt][:unattended_upgra // 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;