Yum Install lame - Repo / Mirrorlist not working

Hi guys,

i’d like to install lame to convert wav to mp3.
but the repo’s dont work.
I’m using the ISO FreePBX-3.211.63-8-x86_64-Full-1366673197.iso

[[email protected] ~]# yum install lame
Loaded plugins: fastestmirror, kmod
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. /
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

that’s the mirrorlist

[[email protected] ~]# cat /etc/yum.repos.d/FreePBX.repo

FreePBX-Base.repo

If the mirrorlist= does not work for you, as a fall back you can try the

remarked out baseurl= line instead.

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.freepbxdistro.org/?release=6.3&arch=$basearch&repo=os
#baseurl=http://yum.freepbxdistro.org/centos/$releasever/os/$basearch/
gpgcheck=0
enabled=1

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.freepbxdistro.org/?release=6.3&arch=$basearch&repo=updates
#baseurl=http://yum.freepbxdistro.org/centos/$releasever/updates/$basearch/
gpgcheck=0
enabled=1

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.freepbxdistro.org/?release=6.3&arch=$basearch&repo=extras
#baseurl=http://yum.freepbxdistro.org/centos/$releasever/extras/$basearch/
gpgcheck=1
enabled=1

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.freepbxdistro.org/?release=6.3&arch=$basearch&repo=centosplus
#baseurl=http://yum.freepbxdistro.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0

#Core PBX Packages
[pbx]
name=pbx
mirrorlist=http://mirrorlist.freepbxdistro.org/?pbxver=3.211.63&release=6.3&arch=$basearch&repo=pbx
#baseurl=http://yum.freepbxdistro.org/pbx/3.211.63/$basearch/
gpgcheck=0
enabled=1

#Schmooze Commercial Packages
[schmooze-commercial]
name=schmooze-commercial
mirrorlist= http://mirrorlist.schmoozecom.net/?release=6.3&arch=$basearch&repo=schmooze-commercial
#baseurl= http://yum.schmoozecom.net/schmooze-commercial/$release/$basearch/
gpgcheck=0
enabled=1

I had the same problem running version 4.211.64-5. I was trying to get the Google Voice transcription working per this link:
http://nerdvittles.com/index.php?s=google+voicemail+transcription

I ended up adding the RPMForge repo’s and this worked. I basically used the instructions on this page:
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge

Note: After installling lame, the transcription is working fine - it’s too bad that Google has dropped the limit from the first 30 to the first 15 seconds. On one of my machines I also had to do a “yum install perl-libwww-perl”, but that worked before adding the additional repository.
BTW, I did just see another service that looks promising for spot applications - not sure I would do it for every extension - http://MyScribbit.com

Anyway, before advising anyone to proceed with the above, I do have one concern I wish I’d thought of before:

  • Does adding the RPMForge repo cause a problem when I go to apply the FreePBX Distro updates in the future? I'm just so used to doing this on web servers I did not think first

Hope Tony or someone else that knows can comment.

Thanks - Richard

We never recommend installing packages that are not in our repos. They can and will I am sure at times cause issues with major upgrades.

Tony, did you intend to say “We never recommend installing packages that are not in our repos”

Sorry fixed the typo. Good catch.