[asterisk-bugs] [Asterisk 0015570]: [patch] install_prereq does not work on Debian 5

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 24 09:36:39 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15570 
====================================================================== 
Reported By:                mvanbaak
Assigned To:                mvanbaak
====================================================================== 
Project:                    Asterisk
Issue ID:                   15570
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-07-24 04:04 CDT
Last Modified:              2009-07-24 09:36 CDT
====================================================================== 
Summary:                    [patch] install_prereq does not work on Debian 5
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0108171) svnbot (reporter) - 2009-07-24 09:36
 https://issues.asterisk.org/view.php?id=15570#c108171 
---------------------------------------------------------------------- 
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 https://issues.asterisk.org/view.php?id=15570)
  Reported by: mvanbaak
  Patches:
        2009072400_installprereq-aptitude.diff uploaded by mvanbaak
(license 7)
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-24 09:36 svnbot         Checkin                                      
2009-07-24 09:36 svnbot         Note Added: 0108171                          
======================================================================




More information about the asterisk-bugs mailing list