From: Sylvain Afchain Date: Wed, 5 Feb 2020 08:26:58 +0000 (+0100) Subject: install_prereq: Install aptitude non-interactively X-Git-Tag: 16.9.0-rc1~27^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40b834ad8c5e341243f7f678efa9522b7218e5e1;p=thirdparty%2Fasterisk.git install_prereq: Install aptitude non-interactively Currently aptitude is installed using interactive mode. This patch changes this to use the non-interactive mode as it can block automatic dependencies installation, ex: CI, Docker build. ASTERISK-28726 #close Change-Id: I271ee00d230513a6f044810351a32d83b2181133 (cherry picked from commit 0c02d0a4500cbd4f657c26eb609928c110ebccb9) --- diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq index 5063157c7a..fe9f046339 100755 --- a/contrib/scripts/install_prereq +++ b/contrib/scripts/install_prereq @@ -263,7 +263,7 @@ check_installed_zypper() { handle_debian() { if ! [ -x "$(command -v aptitude)" ]; then - apt-get install aptitude + apt-get install -y aptitude fi extra_packs=`check_installed_debs $PACKAGES_DEBIAN` $testcmd aptitude update