From 3c42c7877fb09af86e93903dd2850a1425ea7f8b Mon Sep 17 00:00:00 2001 From: Omega Lightning Date: Sun, 22 Sep 2019 02:50:30 +0800 Subject: [PATCH] Fixed pending issue by interactive installation An interactive step is needed by libssl1.1:amd64 to config itself. User must chose Yes/No about "Restart services during package upgrades without asking?" via frontend. "DEBIAN_FRONTEND=noninteractive" will make default options be chosen and no interruption in the process. Signed-off-by: lightning-zgc --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b72f5a2..a120549 100644 --- a/install.sh +++ b/install.sh @@ -351,7 +351,7 @@ do_install() { set -x fi $sh_c 'apt-get update -qq >/dev/null' - $sh_c "apt-get install -y -qq $pre_reqs >/dev/null" + $sh_c "DEBIAN_FRONTEND=noninteractive apt-get install -y -qq $pre_reqs >/dev/null" $sh_c "curl -fsSL \"$DOWNLOAD_URL/linux/$lsb_dist/gpg\" | apt-key add -qq - >/dev/null" $sh_c "echo \"$apt_repo\" > /etc/apt/sources.list.d/docker.list" $sh_c 'apt-get update -qq >/dev/null'