From 88240f98d999c5fdc68d12a5de1da82684ee98eb Mon Sep 17 00:00:00 2001 From: =?utf8?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=utf8 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 (cherry picked from commit 88f3dbaec9509bfba8bc1de7799aa0dc65304bb5) --- contrib/scripts/install_prereq | 1 + 1 file changed, 1 insertion(+) 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 } -- 2.47.2