Bug#312942: marked as done (asterisk package install croaks with various errors)

Debian Bug Tracking System owner at bugs.debian.org
Tue Aug 9 21:03:20 UTC 2005


Your message dated Tue, 9 Aug 2005 21:52:55 +0100
with message-id <200508092152.55692.msp at debian.org>
and subject line User reinstalled fixed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Jun 2005 23:58:20 +0000
>From robl at lentil.org Fri Jun 10 16:58:20 2005
Return-path: <robl at lentil.org>
Received: from tigger.lentil.org [194.106.50.10] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DgtOF-0003lO-00; Fri, 10 Jun 2005 16:58:20 -0700
Received: from robl by tigger.lentil.org with local (Exim 4.50)
	id 1DgtLv-00038h-9Q
	for submit at bugs.debian.org; Sat, 11 Jun 2005 00:55:55 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Robert Lister <robl at lentil.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: asterisk package install croaks with various errors
X-Mailer: reportbug 3.8
Date: Sat, 11 Jun 2005 00:55:55 +0100
Message-Id: <E1DgtLv-00038h-9Q at tigger.lentil.org>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: asterisk
Version: 1:1.0.7.dfsg.1-2
Severity: normal


Asterisk install (via aptittde or apt-get) is falling over when I try to install it with a 
variety of errors:

Here is the aptitude install:

Preconfiguring packages ...
Selecting previously deselected package libsqlite0.
(Reading database ... 26884 files and directories currently installed.)
Unpacking libsqlite0 (from .../libsqlite0_2.8.16-1_i386.deb) ...
Selecting previously deselected package libasound2.
Unpacking libasound2 (from .../libasound2_1.0.8-3_i386.deb) ...
Selecting previously deselected package libgsm1.
Unpacking libgsm1 (from .../libgsm1_1.0.10-13_i386.deb) ...
Selecting previously deselected package libpq3.
Unpacking libpq3 (from .../libpq3_7.4.7-6sarge1_i386.deb) ...
Selecting previously deselected package libpri1.
Unpacking libpri1 (from .../libpri1_1.0.7-1_i386.deb) ...
Selecting previously deselected package libspeex1.
Unpacking libspeex1 (from .../libspeex1_1.1.6-2_i386.deb) ...
Selecting previously deselected package libtonezone1.
Unpacking libtonezone1 (from .../libtonezone1_1%3a1.0.7-4.1_i386.deb) ...
Selecting previously deselected package libltdl3.
Unpacking libltdl3 (from .../libltdl3_1.5.6-6_i386.deb) ...
Selecting previously deselected package odbcinst1.
Unpacking odbcinst1 (from .../odbcinst1_2.2.4-11_i386.deb) ...
Selecting previously deselected package unixodbc.
Unpacking unixodbc (from .../unixodbc_2.2.4-11_i386.deb) ...
Selecting previously deselected package asterisk-sounds-main.
Unpacking asterisk-sounds-main (from .../asterisk-sounds-main_1%3a1.0.7.dfsg.1-2_all.deb) ...
Selecting previously deselected package asterisk-config.
Unpacking asterisk-config (from .../asterisk-config_1%3a1.0.7.dfsg.1-2_all.deb) ...
Selecting previously deselected package asterisk.
Unpacking asterisk (from .../asterisk_1%3a1.0.7.dfsg.1-2_i386.deb) ...
Setting up libsqlite0 (2.8.16-1) ...

Setting up libasound2 (1.0.8-3) ...

Setting up libgsm1 (1.0.10-13) ...

Setting up libpq3 (7.4.7-6sarge1) ...

Setting up libpri1 (1.0.7-1) ...

Setting up libspeex1 (1.1.6-2) ...

Setting up libtonezone1 (1.0.7-4.1) ...

Setting up libltdl3 (1.5.6-6) ...

Setting up odbcinst1 (2.2.4-11) ...

Setting up unixodbc (2.2.4-11) ...

Setting up asterisk-sounds-main (1.0.7.dfsg.1-2) ...
Setting up asterisk-config (1.0.7.dfsg.1-2) ...
Setting up asterisk (1.0.7.dfsg.1-2) ...
chmod: cannot access `/etc/asterisk/*': No such file or directory
dpkg: error processing asterisk (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 asterisk
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack!  Something bad happened while installing packages.  Trying to recover:
Setting up asterisk (1.0.7.dfsg.1-2) ...
chmod: cannot access `/etc/asterisk/*': No such file or directory
dpkg: error processing asterisk (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 asterisk
Press return to continue.


And apt-get (re-)installs fail but not with the same error consistently:


tigger:/home/robl# apt-get install asterisk
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
  gnomemeeting ohphone kphone asterisk-doc asterisk-dev rate-engine
The following NEW packages will be installed:
  asterisk
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1175kB of archives.
After unpacking 3289kB of additional disk space will be used.
Selecting previously deselected package asterisk.
(Reading database ... 27396 files and directories currently installed.)
Unpacking asterisk (from .../asterisk_1%3a1.0.7.dfsg.1-2_i386.deb) ...
Setting up asterisk (1.0.7.dfsg.1-2) ...
chown: cannot access `/var/spool/asterisk': No such file or directory
dpkg: error processing asterisk (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 asterisk
E: Sub-process /usr/bin/dpkg returned an error code (1)


Asterisk does not appear to start correctly.

tigger:/var/log# /etc/init.d/asterisk start
Starting Asterisk PBX: asterisk.
tigger:/var/log# ps xau | grep asterisk
root     11995  0.0  0.2  1820  572 pts/3    S+   00:45   0:00 grep asterisk


tigger:/etc/asterisk# apt-get install asterisk-config
Reading Package Lists... Done
Building Dependency Tree... Done
asterisk-config is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up asterisk (1.0.7.dfsg.1-2) ...
chmod: cannot access `/etc/asterisk/*': No such file or directory
dpkg: error processing asterisk (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 asterisk
E: Sub-process /usr/bin/dpkg returned an error code (1)


Tried un-unstalling and re-installing a few times, and manually adding the user and changing
the directory permissions so that they are owned by asterisk (the first install put them as
"root") but the best I can seem to do is a tempremental asterisk install that does not seem
to work well with previously working config (sip.conf and extensions.conf. It registers with
the sip providers but does not seem to allow phones to log on locally, also it locked up a
few times when I tried "reload" etc.)

Nothing obvious in the logs.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages asterisk depends on:
ii  asterisk-config         1:1.0.7.dfsg.1-2 config files for asterisk
ii  asterisk-sounds-main    1:1.0.7.dfsg.1-2 sound files for asterisk
ii  libasound2              1.0.8-3          ALSA library
ii  libc6                   2.3.2.ds1-22     GNU C Library: Shared libraries an
ii  libgsm1                 1.0.10-13        Shared libraries for GSM speech co
ii  libncurses5             5.4-4            Shared libraries for terminal hand
ii  libnewt0.51             0.51.6-20        Not Erik's Windowing Toolkit - tex
ii  libpq3                  7.4.7-6sarge1    PostgreSQL C client library
ii  libpri1                 1.0.7-1          Primary Rate ISDN specification li
ii  libspeex1               1.1.6-2          The Speex Speech Codec
ii  libsqlite0              2.8.16-1         SQLite shared library
ii  libssl0.9.7             0.9.7e-3         SSL shared libraries
ii  libtonezone1            1:1.0.7-4.1      tonezone library (runtime)
ii  unixodbc                2.2.4-11         ODBC tools libraries
ii  zlib1g                  1:1.2.2-4        compression library - runtime

-- debconf-show failed

---------------------------------------
Received: (at 312942-done) by bugs.debian.org; 9 Aug 2005 20:53:06 +0000
>From msp at debian.org Tue Aug 09 13:53:06 2005
Return-path: <msp at debian.org>
Received: from (bristol.purcell.id.au) [212.139.8.15] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E2b5t-0000RM-00; Tue, 09 Aug 2005 13:53:05 -0700
Received: from [192.168.3.150] (helo=dell.purcell.id.au)
	by bristol.purcell.id.au with esmtp (Exim 4.52)
	id 1E2b5s-0006Vl-ME
	for 312942-done at bugs.debian.org; Tue, 09 Aug 2005 21:53:08 +0100
Received: from mark by dell.purcell.id.au with local (Exim 4.52)
	id 1E2b5j-0006eC-Q7
	for 312942-done at bugs.debian.org; Tue, 09 Aug 2005 21:52:56 +0100
From: Mark Purcell <msp at debian.org>
Organization: Debian GNU Linux
To: 312942-done at bugs.debian.org
Date: Tue, 9 Aug 2005 21:52:55 +0100
User-Agent: KMail/1.8.1
Disposition-Notification-To: Mark Purcell <msp at debian.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200508092152.55692.msp at debian.org>
X-SA-Exim-Connect-IP: 192.168.3.150
X-SA-Exim-Rcpt-To: 312942-done at bugs.debian.org
X-SA-Exim-Mail-From: msp at debian.org
Subject: User reinstalled fixed
X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100)
X-SA-Exim-Scanned: Yes (on bristol.purcell.id.au)
Delivered-To: 312942-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

Robert,

I'm closing this bug as you stated a reinstalled cleared up the problems for 
you.

Mark



More information about the Pkg-voip-maintainers mailing list