mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 10:22:46 +00:00
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 88f3dbaec9
)
This commit is contained in:
committed by
Kevin Harwell
parent
aeef52db9f
commit
88240f98d9
@@ -97,6 +97,7 @@ check_installed_pkgs() {
|
|||||||
|
|
||||||
handle_debian() {
|
handle_debian() {
|
||||||
extra_packs=`check_installed_debs $PACKAGES_DEBIAN`
|
extra_packs=`check_installed_debs $PACKAGES_DEBIAN`
|
||||||
|
$testcmd aptitude update
|
||||||
$testcmd aptitude install -y $extra_packs
|
$testcmd aptitude install -y $extra_packs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user