Bug#297012: apt-get asterisk error

Jose Carlos Garcia Sogo Jose Carlos Garcia Sogo <jsogo@debian.org>, 297012@bugs.debian.org
Sun, 27 Feb 2005 13:50:07 +0100


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

El s=C3=A1b, 26-02-2005 a las 14:58 +0100, H=C3=A5vard Rognlidalen escribi=
=C3=B3:
> Package: Asterisk
> Version: 1.0.5-2
>=20
> When doing "apt-get install asterisk" i get the following error;
>=20
> 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)
>=20
> I have tried to make the directory /etc/asterisk and have rerun "apt-get=20
> install asterisk" but i still get the same error message

 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
Jose Carlos Garcia Sogo
   jsogo@debian.org

--=-dROhoCpp4bqwZ/Dp4nsw
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)

iD8DBQBCIcH/S+BYJZB4jhERAiqLAKCE/fpyTacP0wIKJnPpcbn08WE3mACdH9tR
THKFFlX44owpRX70TN9bX8A=
=+d7E
-----END PGP SIGNATURE-----

--=-dROhoCpp4bqwZ/Dp4nsw--