[Asterisk-code-review] install prereq: Update repositories before install on Debian... (asterisk[13])

Kevin Harwell asteriskteam at digium.com
Thu Mar 17 14:19:12 CDT 2016


Kevin Harwell has uploaded a new change for review.

  https://gerrit.asterisk.org/2432

Change subject: install_prereq: Update repositories before install on Debian systems
......................................................................

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)
---
M contrib/scripts/install_prereq
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/32/2432/1

diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq
index a47f38b..0e6fbcf 100755
--- a/contrib/scripts/install_prereq
+++ b/contrib/scripts/install_prereq
@@ -97,6 +97,7 @@
 
 handle_debian() {
 	extra_packs=`check_installed_debs $PACKAGES_DEBIAN`
+	$testcmd aptitude update
 	$testcmd aptitude install -y $extra_packs
 }
 

-- 
To view, visit https://gerrit.asterisk.org/2432
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I645959e553aac542805ced394cac2dca964051fa
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Rodrigo Ramirez Norambuena <a at rodrigoramirez.com>



More information about the asterisk-code-review mailing list