Skip to content

Commit 97c4713

Browse files
eak12913yorinasub17
authored andcommitted
increase wait time a bit
1 parent 63d8536 commit 97c4713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/bash-commons/src/dynamic-ubuntu-wait.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ set -e
2424

2525
echo "Dynamically waiting for ubuntu's automatic update mechanism to let go of locks..."
2626

27-
sleep 5 # In case this script is the very first command being run, we wait a bit to give unattended upgrades a chance to start.
27+
sleep 15 # In case this script is the very first command being run, we wait a bit to give unattended upgrades a chance to start.
2828

2929
while sudo fuser /var/lib/apt/lists/lock >/dev/null 2>&1; do sleep 1; echo 'waiting'; done
3030
while sudo fuser /var/lib/dpkg/lock >/dev/null 2>&1; do sleep 1; echo 'still waiting'; done

0 commit comments

Comments
 (0)