Problems installing asterisk-mysql in debian

Hi,

I am hoping someone can help me here.

Im trying to install asterisk-mysql on debian and this is what I am getting…can anyone please advise ?

Thanks

[code]root@debiantestDB:/etc/apt# apt-get install asterisk-mysql
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
asterisk-mysql : Depends: asterisk (= 1:1.8.13.1~dfsg1-3+deb7u3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@debiantestDB:/etc/apt#[/code]

[quote]Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.[/quote]

You need to install the dependencies and possibly update your repository list. But what is that you want to Install , Asterisk & MYSQL, and if so why not install asterisk from source and then sudo apt-get install mysql-server

[quote=“ambiorixg12”][quote]Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.[/quote]

You need to install the dependencies and possibly update your repository list. But what is that you want to Install , Asterisk & MYSQL, and if so why not install asterisk from source and then sudo apt-get install mysql-server[/quote]

What happened was I think I messed up my repository list (sources.list).

I already have an msql database on the system and i need asterisk to access the database. Whan I need to do it to try and install v 1.8 of asterisk but what I have found is that due to an update that I did, my debian system is now showing the system as Debian GNU/Linux 8.0 (jessie).

Whenever I try to install asterisk, I get the error message…not sure as to where to go from here.