From 88f3dbaec9509bfba8bc1de7799aa0dc65304bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Ram=C3=ADrez=20Norambuena?= Date: Mon, 19 Oct 2015 09:11:55 -0300 Subject: [PATCH] install_prereq: Update repositories before install on Debian systems MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- contrib/scripts/install_prereq | 1 + 1 file changed, 1 insertion(+) 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 }