From dedc5ccd0de5dfc183c65ea2f4390ebc23823eb5 Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Mon, 17 Sep 2018 16:04:58 +0200 Subject: [PATCH] Use noninteractive frontend for Debian upgrade When upgrading packages for Debian based make sure we set the frontend to noninteractive so we dont get stopped on questions popping up. Change-Id: I2dfa77840401261e4c58095b978e1f6374ed69a1 --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 6c373c186..8fa74ce2e 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -209,7 +209,7 @@ if [ "${MANAGE_REPOS}" = true ]; then $SUDO $YUM update -y update_ret=$? elif uses_debs; then - $SUDO apt-get upgrade -y + $SUDO DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confnew" upgrade update_ret=$? fi if [ $update_ret -ne 0 ]; then