Updating Asterisk

Hi
I am a student taking an Asterisk class. I am trying to set up a server at home to work on my labs. I installed CentOS and was able to update it with no problems. I then created two files, in /etc/yum.repos.d, centos-asterisk.repo and centos-digium.repo. I copied and pasted from asterisk.org/download/yum. I used vim as my text editor. Then I tried to use yum install asterisk16 asterisk16-configs asterisk16-voicemail dahdi-linux dahdi-tools libpri Then I get an error that it can not find repositories. I removed the Asterisk directory and then I can check for updates with no problems. My instructor does not seem to want to help me with my home problem.

Any ideas??

Thanks, Doug

[asterisk-tested]
name=CentOS-$releasever - Asterisk - Tested
baseurl=http://packages.asterisk.org/centos/$releasever/tested/$basearch/
enabled=0
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium

[asterisk-current]
name=CentOS-$releasever - Asterisk - Current
baseurl=http://packages.asterisk.org/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium

#Save the new file and create another named “centos-digium.repo” and insert the following text:

[digium-tested]
name=CentOS-$releasever - Digium - Tested
baseurl=http://packages.digium.com/centos/$releasever/tested/$basearch/
enabled=0
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

[digium-current]
name=CentOS-$releasever - Digium - Current
baseurl=http://packages.digium.com/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

Hi

This is the error message I get when trying to install.

Thanks, Doug

[root@localhost ~]# yum install asterisk16 asterisk16-configs asterisk16-voicemail dahdi-linux dahdi
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

What you posted looks correct.

if you try again now that it is later, does this problem still exist?

I noticed yum was using fastestmirrors, which I believe is cached info. maybe there is a problem with one of the mirrors.

You could try doing a:

yum clean all
yum --noplugins install asterisk16 etc…

Yes I get the same error. I even wiped the drive and reinstalled CentOS and updated it, no problems. After I install the two files and try to install Asterisk I get the same error, check path. Thought about downloading source tareball, but I do not know how to compile it.

Thanks, Doug

I finally got Asterisk to install. I have Frontier DSL and they must be blocking the repository. I took my server to a relative’s house with Comcast cable and It installed with no problems. Now I can get down to some learning!!

Thanks, Doug

Glad to hear that you got it working.

Good luck with your learning. Come back if you have any questions. No answers guaranteed but you might get something useful.

Thanks, Doug