From 0c9f418ca4d6799ddf6f5d2f0e22164be990fbd8 Mon Sep 17 00:00:00 2001 From: Trenton Dyck Date: Tue, 10 Sep 2024 23:38:53 -0700 Subject: [PATCH] Add a lock timeout for apt-get installs --- src/Misc/layoutbin/installdependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Misc/layoutbin/installdependencies.sh b/src/Misc/layoutbin/installdependencies.sh index 552f30ce2fd..b587669c4ad 100755 --- a/src/Misc/layoutbin/installdependencies.sh +++ b/src/Misc/layoutbin/installdependencies.sh @@ -53,7 +53,7 @@ then command -v apt-get if [ $? -eq 0 ] then - apt_get=apt-get + apt_get="apt-get -o DPkg::Lock::Timeout=300" else command -v apt if [ $? -eq 0 ]