Cirrus CI: configure apt-get to wait for locks#8776
Merged
fuweid merged 1 commit intocontainerd:mainfrom Jul 9, 2023
Merged
Conversation
Member
Author
|
Hm... not supported? edit: DOH! didn't add the |
I saw Cirrus CI / Vagrant BOX:rockylinux/[email protected] failing during setting up Vagrant, which may be due to other scripts provisioning the machine; Reading package lists... apt-get install -y libvirt-daemon libvirt-daemon-system vagrant vagrant-libvirt E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2496 (apt-get) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? Configure dpkg to wait for locks to be released instead of failing. I used 60 second as timeout, which is relatively long, but given that the Vagrant checks are known to take some time to run, is probably fine. Signed-off-by: Sebastiaan van Stijn <[email protected]>
bce4361 to
6a913ac
Compare
Member
Author
|
Should be fixed now |
estesp
approved these changes
Jul 7, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I saw Cirrus CI / Vagrant BOX:rockylinux/[email protected] failing during setting up Vagrant, which may be due to other scripts provisioning the machine;
Configure dpkg to wait for locks to be released instead of failing. I used 60 second as timeout, which is relatively long, but given that the Vagrant checks are known to take some time to run, is probably fine.