Commit 18b7307 ("provision: Remove package unattended-upgrades from Ubuntu") attempted to prevent apt-get from holding the update lock as that can cause the VM provisioning to fail in CI.
It seems it wasn't enough however as the issue is still happening. This pull request attempts an additional fix by not even checking if updates exist.
Commit 18b7307 ("provision: Remove package unattended-upgrades from Ubuntu") attempted to prevent apt-get from holding the update lock as that can cause the VM provisioning to fail in CI.
It seems it wasn't enough however as the issue is still happening. This pull request attempts an additional fix by not even checking if updates exist.
Related: https://github.com/cilium/packer-ci-build/issues/315.