diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq
index 5063157c7afbe21219514278ba8331f05cacfb3d..fe9f046339b7d2d25f44648b2ba527cbed4fd7e3 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