Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packer/scylla.json: Add
apt-get update
after kernel package removal
From time to time we get the following error during Azure build: ``` �[0;32m azure: Reading state information...�[0m �[1;31m==> azure: E: Unable to locate package linux-azure-lts-22.04�[0m �[1;31m==> azure: E: Couldn't find any package by glob 'linux-azure-lts-22.04'�[0m �[1;31m==> azure: E: Couldn't find any package by regex 'linux-azure-lts-22.04'�[0m �[1;32m==> azure: Provisioning step had errors: Running the cleanup provisioner, if present...�[0m �[1;32m==> azure: ==> azure: Deleting individual resources ...�[0m ``` Couldn't find a main reason for this, as it can't be repreduced all time. As suggested by @mykaul, adding `apt-get update` after kernel package pruge command Fixes: scylladb/scylla-pkg#3601
- Loading branch information