YumRepo Error: All mirror URLs are not using ftp, http[s] or file
centos6, vmware-workstation, windows-8.1, yum
Solution
Be sure that you can ping vault.centos.org.
Then edit `/etc/yum.repos.d/CentOS-Base.repo`
Comment out `mirrorlist` and uncomment `baseurl`
Change all
baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
to
baseurl=http://vault.centos.org/$releasever/centosplus/$basearch/
And enjoy your yum update!!! ;)
Problem
I have set up a `centOS 6.5 server` using `VMWare Workstation 9` on a `Windows 8.1` host laptop. When trying to use `yum` to install packages I get the following error: ``` [root@localhost ~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. </html>/ removing mirrorlist with no valid mirrors: /var/cache/yum/i386/6/base/mirrorlist.txt Error: Cannot find a valid baseurl for repo: base ``` The VM works on other machines (`Windows 7` desktop and an `Windows 8.1` laptop), just not the one I need it to work on. I am able to ping the host from the guest and the guest from the host, so there is a connection to the internet. I have uninstalled and reinstalled Workstation 9. Ungraded to workstation 10. Rebuilt the CentOS 6.5 server. Nothing seems to solve the issue. When I upgraded from Windows 8 to Windows 8.1, I had VMWare installed. I found out later that I should have uninstalled VMWare before upgrading. Could this have messed up my VMWare network adapters? Anyone have any ideas?