Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vmupdate: improve waiting for apt-get update lock
"apt-get update" doesn't support waiting for other instances to finish, it exits immediately instead. With CLI apt-get version, it's possible to get it waiting externally (by taking the lock manually, and then make apt-get not try to lock it again). Unfortunately the same cannot be done for the API version, because there is no way (I can find) to disable locking in the apt.Cache.update() function. Workaround for missing feature https://bugs.debian.org/1069167
- Loading branch information