Errors Installing Asterisk package on Sarge using apt-get
Unable to install Asterisk. could someone please tell me how to
rectify this please?
# apt-get install asterisk
Reading Package Lists... Done
Building Dependency Tree... Done
gnomemeeting ohphone kphone asterisk-doc asterisk-dev rate-engine mpg123
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 38 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 ... 24589 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) ...
adduser: Warning: The home dir you specified already exists.
Adding system user `asterisk'...
Adding new group `asterisk' (110).
Adding new user `asterisk' (110) with group `asterisk'.
Home directory `/var/lib/asterisk' already exists.
Adding user `asterisk' to group `audio'...
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:
E: Sub-process /usr/bin/dpkg returned an error code (1)