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