Run the "yum update" command and get this error Error: Cannot find a valid baseurl for repo: base.[root@localhost ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 6 - ""
Error: Cannot find a valid baseurl for repo: base
Thing to do is to try run the dhclient to obtain fresh IP and then run yum update again.
#dhclient
Reference
http://stackoverflow.com/questions/30424860/yum-error-centos-7-1-x86-64https://www.cyberciti.biz/faq/howto-linux-renew-dhcp-client-ip-address/
https://www.centos.org/forums/viewtopic.php?t=947
No comments :
Post a Comment