Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[enh] Wait for dpkg lock to be free #571
We have a lot of failed upgrade because of apt couldn't get its lock file because of another apt running in background.
Add an internal helper to check before any apt helper if the lock is free. Or wait to run apt.
Tested on a VM
How to test
Run an apt command that will hang, waiting for an answer from the user. Like an install or an upgrade.