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