From: Rodrigo Ramírez Norambuena Date: Mon, 19 Oct 2015 12:11:55 +0000 (-0300) Subject: install_prereq: Update repositories before install on Debian systems X-Git-Tag: 13.8.0-rc1~8^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88240f98d999c5fdc68d12a5de1da82684ee98eb;p=thirdparty%2Fasterisk.git install_prereq: Update repositories before install on Debian systems When to install packages the indexed local is more old of the version of software on the repository they have been upgraded by security update then get the package will give 404 not found. The patch prevent by update local index to repository for aptitude before install. ASTERISK-25495 #close Reporte by: Rodrigo Ramírez Norambuena Change-Id: I645959e553aac542805ced394cac2dca964051fa (cherry picked from commit 88f3dbaec9509bfba8bc1de7799aa0dc65304bb5) --- diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq index a47f38b103..0e6fbcf81a 100755 --- a/contrib/scripts/install_prereq +++ b/contrib/scripts/install_prereq @@ -97,6 +97,7 @@ check_installed_pkgs() { handle_debian() { extra_packs=`check_installed_debs $PACKAGES_DEBIAN` + $testcmd aptitude update $testcmd aptitude install -y $extra_packs }