[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:39:53 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:39 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.
======================================================================
----------------------------------------------------------------------
(0108173) svnbot (reporter) - 2009-07-24 09:39
https://issues.asterisk.org/view.php?id=15570#c108173
----------------------------------------------------------------------
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 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=208545
Issue History
Date Modified Username Field Change
======================================================================
2009-07-24 09:39 svnbot Checkin
2009-07-24 09:39 svnbot Note Added: 0108173
======================================================================
More information about the asterisk-bugs
mailing list