Bug#606534: Subject: install fail asterisk 1:1.6.2.0~dfsg~beta3-1 Debian unstable. insserv: Service zaptel has to be enabled to start service asterisk

December 09th, 2010 - 08:00 pm ET by techy techtech | Report spam

Package: asterisk
Version: 1:1.6.2.0~dfsg~beta3-1
and: 1.6.2.0~dfsg~rc1-1
Justification: renders package unusable
Severity: grave
Tags: patch
My patch is included below.

*** This was my first time that I tried to submit a bug. I got it wrong. I
do not use email a lot either.
I have had a sole email, an automated reply sitting in my inbox since my
submission back in 05th October 2009.
I have resubmitted this bug and patch to include the detail I had gleaned,
in case it helps someone.
I am learning how the bug reports system works, allbeit slowly. sorry for my
delay.
I am unsure whether to send to submit@bugs.debian.org or attach to
552604@bugs.debian.org
I will soon see from the effect. I know that both is wrong. I am learning.
Sorry for any inconvieniance.
***

An error occurred The following details are provided:
E: asterisk: subprocess installed post-installation script returned error
exit status 1

Setting up asterisk (1:1.6.2.0~dfsg~beta3-1) ...
insserv: Service zaptel has to be enabled to start service asterisk
insserv: exiting now!

The configuration script is throwing a zaptel missing dependency. but zaptel
is no more. I believe It should be Recommends: dahdi OR dahdi-linux.

The changelog shows:-
http://packages.debian.org/changelogs/p ... /changelog
Debian Changelog asterisk (1:1.6.2.0~dfsg~beta3-1)
2009 asterisk (1:1.6.2.0~dfsg~beta3-1) unstable; urgency=low [ F L ]
* New upstream release.
* Remove init script's "zaptel-fix" action; there's no zaptel any more and
was also lintian-buggy in its current form.
* Install Zaptel-to-DAHDI.txt, explains the migration procedure from Zaptel
to DAHDI and is therefore useful when upgrading from lenny.

MY PATCH:
I altered a line in file: /etc/init.d/astersisk
From: # Required-Start: $local_fs zaptel
To: # Required-Start: $local_fs dahdi dahdi-linux
Then,
# dpkg --configure --force-all asterisk

# dpkg --status asterisk
Package: asterisk
Status: install ok installed <<==
There is more detailed information in my previous work on this issue at :
http://forums.debian.net/viewtopic....&tD390
I have uninstalled and reinstalled and have identified this potential bug is
also in asterisk 1.6.2.0~dfsg~rc1-1 .
However I am having many other separate problems which I am diligently but
ploddingly resolving.
This stops me from testing asterisk quick enough to my satisfaction, to get
this potential bug processed.
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.
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,"
Asterisk,the future of telephony." or the book to be published in January
2010 "Practical Asterisk 1.4 and 1.6: From Beginner to Expert" to allow me
to operate asterisk further, and to test for the effectiveness of my patch.


Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages asterisk depends on:
ii adduser 3.111 add and remove users and groups
ii asterisk-config 1:1.6.2.0~dfsg~rc1-1 Configuration files for
Asterisk
ii asterisk-sounds-mai 1:1.6.2.0~dfsg~rc1-1 Core Sound files for Asterisk
(Eng
ii dahdi 1:2.2.0~rc3-1 utilities for using the DAHDI
kern
ii libasound2 1.0.21a-1 shared library for ALSA
applicatio
ii libc-client2007b 8:2007b~dfsg-1.1+b1 c-client library for mail
protocol
ii libc6 2.9-26 GNU C Library: Shared libraries
ii libcap2 1:2.16-5 support for getting/setting
POSIX.
ii libcurl3 7.19.5-1.1 Multi-protocol file transfer
libra
ii libgcc1 1:4.4.1-4 GCC support library
ii libglib2.0-0 2.22.0-1 The GLib library of C routines
ii libgmime-2.0-2a 2.2.22-4 MIME library
ii libgsm1 1.0.13-1 Shared libraries for GSM speech
co
ii libiksemel3 1.2-4 C library for the Jabber IM
platfo
ii libldap-2.4-2 2.4.17-2 OpenLDAP libraries
ii liblua5.1-0 5.1.4-3 Simple, extensible, embeddable
pro
ii libncurses5 5.7+20090803-2 shared libraries for terminal
hand
ii libnewt0.52 0.52.10-4 Not Erik's Windowing Toolkit -
tex
ii libogg0 1.1.4~dfsg-1 Ogg bitstream library
ii libopenais2 0.83-1 Standards-based cluster
framework
ii libpopt0 1.14-4 lib for parsing cmdline
parameters
ii libpq5 8.4.1-1 PostgreSQL C client library
ii libpri1.4 1.4.10-1 Primary Rate ISDN specification
li
ii libradiusclient-ng2 0.5.6-1 Enhanced RADIUS client library
ii libsdl1.2debian 1.2.13-4+b1 Simple DirectMedia Layer
ii libsnmp15 5.4.1~dfsg-12 SNMP (Simple Network Management
Pr
ii libspandsp1 0.0.5~pre4-1 Telephony signal processing
librar
ii libspeex1 1.2~rc1-1 The Speex codec runtime library
ii libspeexdsp1 1.2~rc1-1 The Speex extended runtime
library
ii libsqlite0 2.8.17-6 SQLite shared library
ii libss7-1 1.0.2-1 Signalling System 7 (ss7)
library
ii libssl0.9.8 0.9.8k-5 SSL shared libraries
ii libstdc++6 4.4.1-4 The GNU Standard C++ Library v3
ii libsybdb5 0.82-6 libraries for connecting to MS
SQL
ii libtiff4 3.9.1-1 Tag Image File Format (TIFF)
libra
ii libtonezone2.0 1:2.2.0~rc3-1 tonezone library (runtime)
ii libvorbis0a 1.2.0.dfsg-6 The Vorbis General Audio
Compressi
ii libvorbisenc2 1.2.0.dfsg-6 The Vorbis General Audio
Compressi
ii libvpb0 4.2.42-1 Voicetronix telephony hardware
use
ii libx11-6 2:1.2.2-1 X11 client-side library
ii libxml2 2.7.4.dfsg-2 GNOME XML library
ii unixodbc 2.2.11-20 ODBC tools libraries
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime

asterisk recommends no packages.

Versions of packages asterisk suggests:
pn asterisk-dev <none> (no description available)
ii asterisk-doc 1:1.6.2.0~dfsg~rc1-1 Source code documentation for
Aste
pn asterisk-h323 <none> (no description available)
pn ekiga <none> (no description available)
pn kphone <none> (no description available)
pn ohphone <none> (no description available)
pn twinkle <none> (no description available)


Regards, from McTech.


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....4390" target="_blank">http://forums.debian.net/viewtopic....<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>






To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Tzafrir Cohen
December 10th, 2010 - 03:10 am ET | Report spam
forcemerge 552604 60653
thanks

Hi, the issue has already been fixed.

On Fri, Dec 10, 2010 at 12:49:16AM +0000, techy techtech wrote:
Package: asterisk
Version: 1:1.6.2.0~dfsg~beta3-1
and: 1.6.2.0~dfsg~rc1-1



Those versions are quite old.

Justification: renders package unusable
Severity: grave
Tags: patch
My patch is included below.

*** This was my first time that I tried to submit a bug. I got it wrong. I
do not use email a lot either.
I have had a sole email, an automated reply sitting in my inbox since my
submission back in 05th October 2009.
I have resubmitted this bug and patch to include the detail I had gleaned,
in case it helps someone.
I am learning how the bug reports system works, allbeit slowly. sorry for my
delay.
I am unsure whether to send to or attach to




[snip]

Setting up asterisk (1:1.6.2.0~dfsg~beta3-1) ...
insserv: Service zaptel has to be enabled to start service asterisk
insserv: exiting now!



The latter. Note that it has already been fixed: See
http://bugs.debian.org/552604 . I would suggest that you check that
before updating the report.

The change from Required-Start: to Should-Start: is actually from a
slightly later version, IIRC.

Anyway, thanks for bothering to send your fix and not keeping it local.

Tzafrir Cohen
icq#16849755 jabber:
+972-50-7952406 mailto:
http://www.xorcom.com iax:/tzafrir



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics