diff options
author | Rodrigo Ramírez Norambuena <a@rodrigoramirez.com> | 2015-10-19 09:11:55 -0300 |
---|---|---|
committer | Rodrigo Ramírez Norambuena <a@rodrigoramirez.com> | 2015-10-26 05:09:40 -0300 |
commit | 88f3dbaec9509bfba8bc1de7799aa0dc65304bb5 (patch) | |
tree | a14f26936cb682091fe053eb749dbeab92621682 /contrib | |
parent | 2581e460e3dee3240cc218b54b9a24ee151a4106 (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
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/scripts/install_prereq | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq index 17cbf0309..06eb05e71 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 } |