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: 14.0.0-beta1~613^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88f3dbaec9509bfba8bc1de7799aa0dc65304bb5;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 --- diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq index 17cbf03098..06eb05e714 100755 --- a/contrib/scripts/install_prereq +++ b/contrib/scripts/install_prereq @@ -101,6 +101,7 @@ handle_debian() { apt-get install aptitude fi extra_packs=`check_installed_debs $PACKAGES_DEBIAN` + $testcmd aptitude update $testcmd aptitude install -y $extra_packs }