From 6e7513e26bd2a3fdb3551c23903718f800ef7113 Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Tue, 5 Dec 2017 02:51:46 +0200 Subject: [PATCH] Update functions-common --- functions-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions-common b/functions-common index 91decb1fda..2ef01cfeac 100644 --- a/functions-common +++ b/functions-common @@ -1049,7 +1049,7 @@ function apt_get_update { local proxies="http_proxy=${http_proxy:-} https_proxy=${https_proxy:-} no_proxy=${no_proxy:-} " local update_cmd="$sudo $proxies apt-get update" - if ! timeout 300 sh -c "while ! $update_cmd; do sleep 30; done"; then + if ! timeout 1000 sh -c "while ! $update_cmd; do sleep 30; done"; then die $LINENO "Failed to update apt repos, we're dead now" fi