Bug#297012: marked as done (apt-get asterisk error)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 27 Feb 2005 06:18:15 -0800


Your message dated Sun, 27 Feb 2005 15:09:13 +0100
with message-id <1109513353.6623.18.camel@gimli.tribulaciones.org>
and subject line Bug#297012: apt-get asterisk error
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; 26 Feb 2005 13:58:08 +0000
>From havard@erus.net Sat Feb 26 05:58:08 2005
Return-path: <havard@erus.net>
Received: from geburah.1webhost4all.net (yesod.1webhost4all.net) [67.15.12.36] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D52SO-0001Fv-00; Sat, 26 Feb 2005 05:58:08 -0800
Received: from 217-103-253.adsl.tele2.no ([193.217.103.253] helo=[127.0.0.1])
	by yesod.1webhost4all.net with esmtpa (Exim 4.44)
	id 1D52SM-0002x5-8a
	for submit@bugs.debian.org; Sat, 26 Feb 2005 14:58:06 +0100
Message-ID: <4220806B.2090702@erus.net>
Date: Sat, 26 Feb 2005 14:58:03 +0100
From: =?ISO-8859-1?Q?H=E5vard_Rognlidalen?= <havard@erus.net>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: apt-get asterisk error
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - yesod.1webhost4all.net
X-AntiAbuse: Original Domain - bugs.debian.org
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - erus.net
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Delivered-To: submit@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.0.5-2

When doing "apt-get install asterisk" i get the following error;

Setting up asterisk (1.0.5-2) ...
chown: 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)

I have tried to make the directory /etc/asterisk and have rerun "apt-get 
install asterisk" but i still get the same error message

I'm using Debian sarge with a 2.6.8-2-686 kernel, and libc6 2.3.2.ds1-20
||

---------------------------------------
Received: (at 297012-done) by bugs.debian.org; 27 Feb 2005 14:09:55 +0000
>From jsogo@debian.org Sun Feb 27 06:09:55 2005
Return-path: <jsogo@debian.org>
Received: from 97.red-81-38-227.pooles.rima-tde.net (hal9000.tribulaciones.org) [81.38.227.97] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D5P7K-0008AS-00; Sun, 27 Feb 2005 06:09:54 -0800
Received: from localhost (localhost.localdomain [127.0.0.1])
	by hal9000.tribulaciones.org (Postfix) with ESMTP id 23A2737C2C
	for <297012-done@bugs.debian.org>; Sun, 27 Feb 2005 15:09:45 +0100 (CET)
Received: from hal9000.tribulaciones.org ([127.0.0.1])
	by localhost (hal9000 [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 28340-04 for <297012-done@bugs.debian.org>;
	Sun, 27 Feb 2005 15:09:41 +0100 (CET)
Received: from gimli.tribulaciones.org (unknown [192.168.1.10])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hal9000.tribulaciones.org (Postfix) with ESMTP id 5918A37C2B
	for <297012-done@bugs.debian.org>; Sun, 27 Feb 2005 15:09:41 +0100 (CET)
Received: by gimli.tribulaciones.org (Postfix, from userid 1000)
	id 5CB7ADF949; Sun, 27 Feb 2005 15:09:13 +0100 (CET)
Subject: Re: Bug#297012: apt-get asterisk error
From: Jose Carlos Garcia Sogo <jsogo@debian.org>
To: 297012-done@bugs.debian.org
In-Reply-To: <4221C945.6060700@erus.net>
References: <4220806B.2090702@erus.net>
	 <1109508607.6623.16.camel@gimli.tribulaciones.org>
	 <4221C945.6060700@erus.net>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kIXnY49UAReTNjqYTDyc"
Date: Sun, 27 Feb 2005 15:09:13 +0100
Message-Id: <1109513353.6623.18.camel@gimli.tribulaciones.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.3 
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at tribulaciones.org
Delivered-To: 297012-done@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--=-kIXnY49UAReTNjqYTDyc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

El dom, 27-02-2005 a las 14:21 +0100, H=C3=A5vard Rognlidalen escribi=C3=B3=
:
> Jose Carlos Garcia Sogo wrote:
>=20
> >El s=C3=A1b, 26-02-2005 a las 14:58 +0100, H=C3=A5vard Rognlidalen escri=
bi=C3=B3:
> > =20
> >
> >>Package: Asterisk
> >>Version: 1.0.5-2
> >>
> >>When doing "apt-get install asterisk" i get the following error;
> >>
> >>Setting up asterisk (1.0.5-2) ...
> >>chown: 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)
> >>
> >>I have tried to make the directory /etc/asterisk and have rerun "apt-ge=
t=20
> >>install asterisk" but i still get the same error message
> >>   =20
> >>
> >
> > Do you have /etc/ mounted in a r-o filesystem or something similar? It
> >is extrange that it cannot access that dir in the first place, as it
> >should be created by package installation, but it even more weird that
> >it still fails after having created it by hand.
> >
> > The line in postinst that is failing is:
> > chown -R asterisk.asterisk /var/log/asterisk /var/run/asterisk \
> >                /var/spool/asterisk /var/lib/asterisk /etc/asterisk
> >
> >  Please, take a look at your system and thry to guess why it is
> >failing. Right now, I cannot imagine where the problem can be.
> >
> > =20
> >
> Asterisk worked before i removed it yesterday because i wanted a new=20
> clean install of it, and then rerun apt-get update, and did apt-get=20
> install asterisk, so i dont know if you guys have made a upgrade to that=20
> package latley or something.
>=20
> Tried to install on my other server now, propably should have tested=20
> before, because it worked without problems now.
> Weird.. well, i guess you dont have to bother anymore about this issue,=20
> as it must be something with the server.
> Thanks for your help
>=20

 Then, closing the bug.

 Thanks

--=20
Jose Carlos Garcia Sogo
   jsogo@debian.org

--=-kIXnY49UAReTNjqYTDyc
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCIdSJS+BYJZB4jhERAnVmAKCZN/oTNCN+hXH+QxRwJiwvScr35QCgsdmp
GpykcG1q0je9S5Kk0O3GmlU=
=4xqK
-----END PGP SIGNATURE-----

--=-kIXnY49UAReTNjqYTDyc--