I'm using centOS 6.4. I'm getting this error when I use yum update in the terminal window.  Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was14: PYCURL ERROR 6 - Couldn't resolve host 'mirrorlist.centos.org'Error: Cannot find a valid baseurl for repo: baseIs there any alternative mirror for Upgrading?
Update yum fails
linux;yum;upgrade;centos
I had been struggling with the same problem on Centos6.4 x86_64. I got the following error : Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 - Couldn't resolve host 'mirrorlist.centos.org' Error: Cannot find a valid baseurl for repo: baseSo, I fixed it by these steps:edit network interface. For my case, I used eth0. vim /etc/sysconfig/network-scripts/ifcfg-eth0update NM_CONTROLLED to noONBOOT=noNM_CONTROLLED=noBOOTPROTO=dhcpDNS1=8.8.8.8DNS2=4.2.2.2restart the network interfaceifdown eth0ifup eth0I posted the same answer at : How can I fix cannot find a valid baseurl for repo errors on CentOS?Hope this help