Skip to content

ENT-14403: Fixed apt lock race in setup-cfengine-build-host.sh on freshly booted hosts - #2477

Merged
aleksandrychev merged 1 commit into
cfengine:masterfrom
aleksandrychev:ENT-14403
Sep 3, 2026
Merged

ENT-14403: Fixed apt lock race in setup-cfengine-build-host.sh on freshly booted hosts#2477
aleksandrychev merged 1 commit into
cfengine:masterfrom
aleksandrychev:ENT-14403

Conversation

@aleksandrychev

Copy link
Copy Markdown
Contributor

On a freshly booted Debian/Ubuntu EC2 build host the boot-time apt-daily / unattended-upgrades apt-get is often still running when this script starts, so "apt update" fails with "Could not get lock /var/lib/apt/lists/lock".

Ticket: ENT-14403

… hosts

On a freshly booted Debian/Ubuntu EC2 build host the boot-time
apt-daily / unattended-upgrades apt-get is often still running when
this script starts, so "apt update" fails with "Could not get lock
/var/lib/apt/lists/lock".

Ticket: ENT-14403
Signed-off-by: Ihor Aleksandrychiev <ihor.aleksandrychiev@northern.tech>
@aleksandrychev

Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins please

@cf-bottom

Copy link
Copy Markdown

@aleksandrychev
aleksandrychev merged commit 8ac9421 into cfengine:master Sep 3, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants