HowTo set Yum to use the 'vault' Centos repo
From SIPfoundry sipXecs IP PBX, The Open Source SIP PBX for Linux - Calivia
taken from here [1]
To fix this on a sipXecs ISO installed from sipfoundry-4.0.2-016420-i386.iso, as root run:
cp /etc/yum.repos.d/sipxecs.repo /etc/yum.repos.d/sipxecs.repo.orig rm -rf /etc/yum.repos.d/sipxecs.repo wget http://vault.centos.org/5.2/os/i386/CentOS/centos-release-5-2.el5.centos.i386.rpm yum -y localinstall --nogpgcheck centos-release-5-2.el5.centos.i386.rpm wget http://track.sipfoundry.org/secure/attachment/21991/sipxecs.repo -P /etc/yum.repos.d
The yum command will now work. The CentOS repositories (and gpg-key, license agreements, etc) will be restored. A "yum update" will update your installation to current CentOS 5.2 and allow you to install other Centos 5.2 packages
Warning: if you do a yum update before sipXecs 4.2 is released you'll re-install the broken sipxecs-release RPM, which will remove the CentOS repository again.
