mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
[Ubuntu] update apt.mock with additional lock error. (#2299)
This commit is contained in:
@@ -32,6 +32,9 @@ while [ \$i -le 30 ];do
|
|||||||
elif grep -q 'Temporary failure in name resolution' \$err;then
|
elif grep -q 'Temporary failure in name resolution' \$err;then
|
||||||
# It looks like DNS is not updated with random generated hostname yet
|
# It looks like DNS is not updated with random generated hostname yet
|
||||||
retry=true
|
retry=true
|
||||||
|
elif grep -q 'dpkg frontend is locked by another process' \$err;then
|
||||||
|
# dpkg process is busy by another process
|
||||||
|
retry=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm \$err
|
rm \$err
|
||||||
|
|||||||
Reference in New Issue
Block a user