YumRepo Error: All mirror URLs are not using ftp, http[s] or file.


If you still have Centos 5 running:

yum install openssh-clients
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

uname -a
... i686 i686 i386 GNU/Linux
echo "http://vault.centos.org/5.11/os/i386/" > /var/cache/yum/base/mirrorlist.txt

if 64x
echo "http://vault.centos.org/5.11/os/x86_64/" > /var/cache/yum/base/mirrorlist.txt
Then you can yum install openssh-clients

Leave a Reply

Your email address will not be published. Required fields are marked *