summaryrefslogtreecommitdiff
path: root/contrib/scripts
diff options
context:
space:
mode:
authorRodrigo Ramírez Norambuena <a@rodrigoramirez.com>2015-10-19 09:11:55 -0300
committerKevin Harwell <kharwell@digium.com>2016-03-17 14:19:12 -0500
commit88240f98d999c5fdc68d12a5de1da82684ee98eb (patch)
tree11321b67392547710fc791e3a45432397a645659 /contrib/scripts
parentaeef52db9fdd8b48ba294f573580525e8bb96471 (diff)
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)
Diffstat (limited to 'contrib/scripts')
-rwxr-xr-xcontrib/scripts/install_prereq1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq
index a47f38b10..0e6fbcf81 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
}