LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   HOw To Install Asterisk In Backtrack 5 r3 (http://www.linuxquestions.org/questions/linux-desktop-74/how-to-install-asterisk-in-backtrack-5-r3-4175466122/)

djmoohit 06-15-2013 08:49 AM

HOw To Install Asterisk In Backtrack 5 r3
 
Hello Genius!

I Installed Backtrack In My Laptop Dell..
My Laptop Is Running As a Dual Boot Windows 7 Home Premium / Backtrack 5 R3

I Wanted To Know How to install ASTERISK In backtrack 5r3


i tried almost all the command to install asterisk in backtrack 5r3..

Unfortunately i m Unsuccessful To Install ASTERISK IN BACKTRACK.. Help me please

Could u Plz Tell ME HOw To Install asterisk inbacktrack5r3

Thanks In Advance
Regards:-Mohit khemchandani

knudfl 06-15-2013 12:03 PM

Quote:

How to install ASTERISK in Backtrack 5r3
apt-get update && apt-get install asterisk

If you have any problems with package install :
The basic repo for Backtrack 5 is "Ubuntu 10.04 Lucid" : Support ended a month ago.
This new '/etc/apt/sources.list' will do : EDIT : See post # 5.
Code:

deb http://old-releases.ubuntu.com/ubuntu/ lucid main restricted
deb http://old-releases.ubuntu.com/ubuntu/ lucid multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ lucid-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ lucid-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ lucid-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ lucid-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ lucid-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ lucid-security multiverse universe


John VV 06-15-2013 03:52 PM

As i recall there were warnings on the BT5 forum about NOT doing a "dist upgrade" on bt5
The apt pop up tells you to upgrade
But apparently that will kill almost all the software installed by "Offensive-Security"

and the programs will need to be rebuilt .

djmoohit 06-20-2013 04:33 AM

after this command ( apt-get install asterisk )
Im Getting error

Error! Bad return status for module build on kernel: 3.2.6 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/dahdi/2.2.1+dfsg-1ubuntu2/build/ for more information.
dpkg: error processing dahdi-dkms (--configure):
subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of dahdi-linux:
dahdi-linux depends on dahdi-dkms | dahdi-source; however:
Package dahdi-dkms is not configured yet.
Package dahdi-source is not installed.
dpkg: error processing dahdi-linux (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dahdi:
dahdi depends on dahdi-linux; however:
Package dahdi-linux is not configured yet.
dahdi depends on dahdi-dkms | dahdi-source; however:
Package dahdi-dkms is not configured yet.
Package dahdi-source is not installed.
dpkg: error processing dahdi (--configure):
dependency problems - leaving unconfigured
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
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-dkms
dahdi-linux
dahdi
asterisk
E: Sub-process /usr/bin/dpkg returned an error code (1)


How TO Fix It Could u Plz Tell ME

Thanks in advance

regards:dj moohit

TobiSGD 06-20-2013 07:24 AM

Quote:

Originally Posted by knudfl (Post 4972449)
apt-get update && apt-get install asterisk

If you have any problems with package install :
The basic repo for Backtrack 5 is "Ubuntu 10.04 Lucid" : Support ended a month ago.
This new '/etc/apt/sources.list' will do :
Code:

deb http://old-releases.ubuntu.com/ubuntu/ lucid main restricted
deb http://old-releases.ubuntu.com/ubuntu/ lucid multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ lucid-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ lucid-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ lucid-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ lucid-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ lucid-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ lucid-security multiverse universe


Sorry, but no. While Backtrack 5 is in fact based on Ubuntu it has certain packages replaced by their own packages. Enabling the Ubuntu repositories will break your Backtrack installation. This is clearly described in the Backtrack FAQ

So, to the original question. Backtrack (and its successor Kali) is a special purpose distribution, aimed at experts in security and penetration testing. So it is unlikely that you will find software like Asterisk in its repositories. If you want to use Asterisk you should use a general purpose distribution instead, like Debian or Ubuntu.


All times are GMT -5. The time now is 11:43 AM.