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

techy techtech techytechtech at googlemail.com
Fri Dec 10 00:49:16 UTC 2010


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 at bugs.debian.org  or  attach to
552604 at 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.php?f=5&t=44390
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.


-- System Information:
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)

-- no debconf information

Regards,  from  McTech.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20101210/c2d51eee/attachment-0001.htm>


More information about the Pkg-voip-maintainers mailing list