X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6820d921a8fce85b0587ea6792549fe90acb92fb..eb15b15aae4c6f83fcc917214d33458052ae248a:/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 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;