Package: asterisk<br>Version: 1:1.6.2.0~dfsg~beta3-1<br>and:       1.6.2.0~dfsg~rc1-1<br>Justification: renders package unusable<br>

Severity: grave<br>Tags: patch<br>My patch is included below.<br><br>*** This was my first time that I tried to submit a bug. I got it wrong. I do not use email a lot either.<br>I have had a sole email, an automated reply sitting in my inbox since my submission back in 05th October 2009.<br>



I have resubmitted this bug and patch to include the detail I had gleaned, in case it helps someone.<br>I am learning how the bug reports system works, allbeit slowly. sorry for my delay.<br>I am unsure whether to send to <a href="mailto:submit@bugs.debian.org" target="_blank">submit@bugs.debian.org</a>  or  attach to <a href="mailto:552604@bugs.debian.org" target="_blank">552604@bugs.debian.org</a><br>

I will soon see from the effect.  I know that both is wrong.  I am learning. Sorry for any inconvieniance.<br>***<br><br>An error occurred The following details are provided:<br>

E: asterisk: subprocess installed post-installation script returned error exit status 1<br><br>Setting up asterisk (1:1.6.2.0~dfsg~beta3-1) ...<br>

insserv: Service zaptel has to be enabled to start service asterisk<br>insserv: exiting now!<br><br>The
 configuration script is throwing a zaptel missing dependency. but 
zaptel is no more. I believe It should be Recommends:  dahdi  OR  
dahdi-linux.<br>

<br>The changelog shows:-<br><a href="http://packages.debian.org/changelogs/p" target="_blank">http://packages.debian.org/changelogs/p</a> ... /changelog<br>Debian Changelog asterisk (1:1.6.2.0~dfsg~beta3-1)<br>2009 asterisk (1:1.6.2.0~dfsg~beta3-1) unstable; urgency=low [ F L ]<br>





* New upstream release.<br>* Remove init script&#39;s &quot;zaptel-fix&quot; action; there&#39;s no zaptel any more and<br>was also lintian-buggy in its current form.<br>* Install Zaptel-to-DAHDI.txt, explains the migration procedure from Zaptel<br>





to DAHDI and is therefore useful when upgrading from lenny.<br><br>MY PATCH:<br>I altered a line in file: /etc/init.d/astersisk<br>From: # Required-Start: $local_fs zaptel<br>To: # Required-Start: $local_fs dahdi dahdi-linux<br>





Then,<br># dpkg --configure --force-all asterisk<br><br># dpkg --status asterisk<br>Package: asterisk<br>Status: install ok installed   &lt;&lt;========= <br><br>There is more detailed information in my previous work on this issue at :  <a href="http://forums.debian.net/viewtopic.php?f=5&amp;t=44390" target="_blank">http://forums.debian.net/viewtopic.php?f=5&amp;t=44390</a><br>





I have uninstalled and reinstalled and have identified this potential bug is also in asterisk 1.6.2.0~dfsg~rc1-1 .<br>However I am having many other separate problems which I am diligently but ploddingly resolving.<br>This stops me from testing asterisk quick enough to my satisfaction, to get this potential bug processed.<br>





My concern with my patch is, should I specify just one module; dahdi  
or  dahdi-linux ? although specifying both does install asterisk with 
dahdi ok. but no sign in the dependancies shown below, of dahdi-linux. 
It depends on what you actually want.<br>

My next job is to strip out all the 96 sample configurations somehow, to
 make asterisk 1.6 useable for a newbie with starter books such as my 
book,&quot; Asterisk,the future of telephony.&quot; or the book to be published in
 January 2010 &quot;Practical Asterisk 1.4 and 1.6: From Beginner to Expert&quot; 
to allow me to operate asterisk further, and to test for the 
effectiveness of my patch.<br>

<br><br>-- System Information:<br>Debian Release: squeeze/sid<br>  APT prefers unstable<br>  APT policy: (500, &#39;unstable&#39;)<br>Architecture: i386 (i686)<br><br>Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)<br>Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)<br>





Shell: /bin/sh linked to /bin/dash<br><br>Versions of packages asterisk depends on:<br>ii  adduser             3.111                add and remove users and groups<br>ii  asterisk-config     1:1.6.2.0~dfsg~rc1-1 Configuration files for Asterisk<br>





ii  asterisk-sounds-mai 1:1.6.2.0~dfsg~rc1-1 Core Sound files for Asterisk (Eng<br>ii  dahdi               1:2.2.0~rc3-1        utilities for using the DAHDI kern<br>ii  libasound2          1.0.21a-1            shared library for ALSA applicatio<br>





ii  libc-client2007b    8:2007b~dfsg-1.1+b1  c-client library for mail protocol<br>ii  libc6               2.9-26               GNU C Library: Shared libraries<br>ii  libcap2             1:2.16-5             support for getting/setting POSIX.<br>





ii  libcurl3            7.19.5-1.1           Multi-protocol file transfer libra<br>ii  libgcc1             1:4.4.1-4            GCC support library<br>ii  libglib2.0-0        2.22.0-1             The GLib library of C routines<br>





ii  libgmime-2.0-2a     2.2.22-4             MIME library<br>ii  libgsm1             1.0.13-1             Shared libraries for GSM speech co<br>ii  libiksemel3         1.2-4                C library for the Jabber IM platfo<br>





ii  libldap-2.4-2       2.4.17-2             OpenLDAP libraries<br>ii  liblua5.1-0         5.1.4-3              Simple, extensible, embeddable pro<br>ii  libncurses5         5.7+20090803-2       shared libraries for terminal hand<br>





ii  libnewt0.52         0.52.10-4            Not Erik&#39;s Windowing Toolkit - tex<br>ii  libogg0             1.1.4~dfsg-1         Ogg bitstream library<br>ii  libopenais2         0.83-1               Standards-based cluster framework <br>





ii  libpopt0            1.14-4               lib for parsing cmdline parameters<br>ii  libpq5              8.4.1-1              PostgreSQL C client library<br>ii  libpri1.4           1.4.10-1             Primary Rate ISDN specification li<br>





ii  libradiusclient-ng2 0.5.6-1              Enhanced RADIUS client library<br>ii  libsdl1.2debian     1.2.13-4+b1          Simple DirectMedia Layer<br>ii  libsnmp15           5.4.1~dfsg-12        SNMP (Simple Network Management Pr<br>





ii  libspandsp1         0.0.5~pre4-1         Telephony signal processing librar<br>ii  libspeex1           1.2~rc1-1            The Speex codec runtime library<br>ii  libspeexdsp1        1.2~rc1-1            The Speex extended runtime library<br>





ii  libsqlite0          2.8.17-6             SQLite shared library<br>ii  libss7-1            1.0.2-1              Signalling System 7 (ss7) library<br>ii  libssl0.9.8         0.9.8k-5             SSL shared libraries<br>





ii  libstdc++6          4.4.1-4              The GNU Standard C++ Library v3<br>ii  libsybdb5           0.82-6               libraries for connecting to MS SQL<br>ii  libtiff4            3.9.1-1              Tag Image File Format (TIFF) libra<br>





ii  libtonezone2.0      1:2.2.0~rc3-1        tonezone library (runtime)<br>ii  libvorbis0a         1.2.0.dfsg-6         The Vorbis General Audio Compressi<br>ii  libvorbisenc2       1.2.0.dfsg-6         The Vorbis General Audio Compressi<br>





ii  libvpb0             4.2.42-1             Voicetronix telephony hardware use<br>ii  libx11-6            2:1.2.2-1            X11 client-side library<br>ii  libxml2             2.7.4.dfsg-2         GNOME XML library<br>





ii  unixodbc            2.2.11-20            ODBC tools libraries<br>ii  zlib1g              1:1.2.3.3.dfsg-15    compression library - runtime<br><br>asterisk recommends no packages.<br><br>Versions of packages asterisk suggests:<br>





pn  asterisk-dev        &lt;none&gt;               (no description available)<br>ii  asterisk-doc        1:1.6.2.0~dfsg~rc1-1 Source code documentation for Aste<br>pn  asterisk-h323       &lt;none&gt;               (no description available)<br>





pn  ekiga               &lt;none&gt;               (no description available)<br>pn  kphone              &lt;none&gt;               (no description available)<br>pn  ohphone             &lt;none&gt;               (no description available)<br>





pn  twinkle             &lt;none&gt;               (no description available)<br><br>-- no debconf information<br><br>Regards,  from  McTech.                    <br><div> </div>