Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Wait for concurrent apt process to release lock #1177

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

dlipovetsky
Copy link
Collaborator

What problem does this PR solve?:
Concurrent runs of apt outside the scope of the ansible playbook, e.g. unattended upgrades, acquire the apt lock. This ensures that we wait (up to a maximum duration) for the lock to be released any time we run apt.

Which issue(s) does this PR fix?:

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@dlipovetsky dlipovetsky merged commit d277468 into main Sep 18, 2024
24 checks passed
@dlipovetsky dlipovetsky deleted the dlipovetsky/fix-apt-lock branch September 18, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants