[Home]

Summary:ASTERISK-14521: [patch] install_prereq does not work on Debian 5
Reporter:Michiel van Baak (mvanbaak)Labels:
Date Opened:2009-07-24 04:04:12Date Closed:2009-07-24 09:39:54
Priority:MajorRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 2009072400_installprereq-aptitude.diff
Description:the install_prereq script does not work anymore on Debian 5
Tested with a clean install using the netinstaller iso.
This is because the dpkg-query -W command will return 'no such package' for almost all the packages.

This patch replaces this command with aptitude.
I also replaced the apt-get to install the pakages with aptitude because this is now the preferred command is Debian.
Comments:By: Russell Bryant (russell) 2009-07-24 08:49:55

FEEL FREE TO COMMIT THIS.

SORRY FOR THE YELLING - IT'S CAPS LOCK FRIDAY.

By: Digium Subversion (svnbot) 2009-07-24 09:35:55

Repository: asterisk
Revision: 208542

U   trunk/contrib/scripts/install_prereq

------------------------------------------------------------------------
r208542 | mvanbaak | 2009-07-24 09:35:54 -0500 (Fri, 24 Jul 2009) | 13 lines

use aptitude for debian based systems

The function to check wether we need to install packages was using
dpkg-query which was gives wrong output on Debian 5

Also, the apt-get has been replaced with aptitude because aptitude
is now the preferred way to handle packages on Debian

(closes issue ASTERISK-14521)
Reported by: mvanbaak
Patches:
     2009072400_installprereq-aptitude.diff uploaded by mvanbaak (license 7)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=208542

By: Digium Subversion (svnbot) 2009-07-24 09:36:38

Repository: asterisk
Revision: 208543

_U  branches/1.6.0/

------------------------------------------------------------------------
r208543 | mvanbaak | 2009-07-24 09:36:38 -0500 (Fri, 24 Jul 2009) | 19 lines

Blocked revisions 208542 via svnmerge

........
 r208542 | mvanbaak | 2009-07-24 16:35:49 +0200 (Fri, 24 Jul 2009) | 13 lines
 
 use aptitude for debian based systems
 
 The function to check wether we need to install packages was using
 dpkg-query which was gives wrong output on Debian 5
 
 Also, the apt-get has been replaced with aptitude because aptitude
 is now the preferred way to handle packages on Debian
 
 (closes issue ASTERISK-14521)
 Reported by: mvanbaak
 Patches:
       2009072400_installprereq-aptitude.diff uploaded by mvanbaak (license 7)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=208543

By: Digium Subversion (svnbot) 2009-07-24 09:38:42

Repository: asterisk
Revision: 208544

_U  branches/1.6.1/
U   branches/1.6.1/contrib/scripts/install_prereq

------------------------------------------------------------------------
r208544 | mvanbaak | 2009-07-24 09:38:41 -0500 (Fri, 24 Jul 2009) | 20 lines

Merged revisions 208542 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r208542 | mvanbaak | 2009-07-24 16:35:49 +0200 (Fri, 24 Jul 2009) | 13 lines
 
 use aptitude for debian based systems
 
 The function to check wether we need to install packages was using
 dpkg-query which was gives wrong output on Debian 5
 
 Also, the apt-get has been replaced with aptitude because aptitude
 is now the preferred way to handle packages on Debian
 
 (closes issue ASTERISK-14521)
 Reported by: mvanbaak
 Patches:
       2009072400_installprereq-aptitude.diff uploaded by mvanbaak (license 7)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=208544

By: Digium Subversion (svnbot) 2009-07-24 09:39:53

Repository: asterisk
Revision: 208545

_U  branches/1.6.2/
U   branches/1.6.2/contrib/scripts/install_prereq

------------------------------------------------------------------------
r208545 | mvanbaak | 2009-07-24 09:39:53 -0500 (Fri, 24 Jul 2009) | 20 lines

Merged revisions 208542 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r208542 | mvanbaak | 2009-07-24 16:35:49 +0200 (Fri, 24 Jul 2009) | 13 lines
 
 use aptitude for debian based systems
 
 The function to check wether we need to install packages was using
 dpkg-query which was gives wrong output on Debian 5
 
 Also, the apt-get has been replaced with aptitude because aptitude
 is now the preferred way to handle packages on Debian
 
 (closes issue ASTERISK-14521)
 Reported by: mvanbaak
 Patches:
       2009072400_installprereq-aptitude.diff uploaded by mvanbaak (license 7)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=208545