pyinfra
pyinfra copied to clipboard
Add `wait_for_lock` argument to relevant `apt.*` operations
Describe the solution you'd like
Add a wait_for_lock argument to prevent apt operations failing instantly if there is another process holding the apt lock.
Default False for compatibility (and possibly prevent hanging operations).
https://unix.stackexchange.com/a/277255