Open
Description
We get frequent errors when running the installation script in the context of build agents hosted on Azure DevOps
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 5322 (apt)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
##[error]Bash exited with code '100'.
##[warning]RetryHelper encountered task failure, will retry (attempt #: 1 out of 3) after 1000 ms
apt-get
supports adding a new parameter to wait for the lock to be released
apt-get update -o DPkg::Lock::Timeout=600 -qq
which would reduce the number of failures
Metadata
Metadata
Assignees
Labels
No labels