asterisk on ubuntu 9.10
7 Replies
I have a quick guide to installing Asterisk and FreePBX on an Ubuntu 9.04 system with lighttpd (Ubuntu 9.10 wasn't out at the time, but I should probably update it):
Also, although I haven't read it yet, I've heard good things about the Asterisk book: http://astbook.asteriskdocs.org/
FATAL: Module dahdi not found.
dahdi: error dahdidummy: error dahditranscode: error
Error: missing /dev/dahdi!
when i try to uninstall it to retry. How do i fix that?
I installed it by apt-get install asterisk
apt-get remove dahdi dahdi-dkms dahdi-linux
I just went through an apt-based install of Asterisk and DAHDI on an Ubuntu 9.10 system for an updated blog post yesterday
> root@newhills:~# apt-get install dahdi dahdi-dkms dahdi-linux
Reading package lists… Done
Building dependency tree
Reading state information… Done
dahdi is already the newest version.
dahdi-dkms is already the newest version.
dahdi-linux is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up dahdi (1:2.2.0-1ubuntu1) …
Loading DAHDI hardware modules:
FATAL: Module dahdi not found.
dahdi: error dahdidummy: error dahditranscode: error
Error: missing /dev/dahdi!
invoke-rc.d: initscript dahdi, action "start" failed.
dpkg: error processing dahdi (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of asterisk:
asterisk depends on dahdi; however:
Package dahdi is not configured yet.
dpkg: error processing asterisk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of asterisk-mp3:
asterisk-mp3 depends on asterisk-1.6.2; however:
Package asterisk-1.6.2 is not installed.
Package asterisk which provides asterisk-1.6.2 is not configured yet.
dpkg: error processing asterisk-mp3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of asterisk-mysql:
asterisk-mysql depends on asterisk-1.6.2; however:
Package asterisk-1.6.2 is not installed.
Package asterisk which provides asterisk-1.6.2 is not configured yet.
dpkg: error processing asterisk-mysql (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
Errors were encountered while processing:
dahdi
asterisk
asterisk-mp3
asterisk-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get purge dahdi dahdi-dkms dahdi-linux ...
(plus everything else asterisk- and dahdi-related on your system) to remove the existing stuff,
apt-get install build-essential
to install everything needed to compile, then grab a tarball from http://www.asterisk.org/downloads
I have a feeling the sane people use CentOS