I finished installing CentOS 7, but when I tried running yum update I got:
[root@stark ~]# yum update
Loaded plugins: fastestmirror, refresh-packagekit
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6 ... 86&repo=os
error was 14: PYCURL ERROR 6 - "" Error: Cannot find a valid baseurl for repo: bas
How can I fix "cannot find a valid baseurl for repo" errors on CentOS
Moderator: Staff
cPanel Server Management
@ 30$ Onwards
@ 30$ Onwards
Re: How can I fix "cannot find a valid baseurl for repo" errors on CentOS
Hi,
Check and make sure the nameserver entries in your /etc/resolv.conf file is correct.
Make sure the baseurl in the repository is correct. Either replace the baseurl with a valid url or comment the baseurl and run yum update.
=============================
Martin
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree
Check and make sure the nameserver entries in your /etc/resolv.conf file is correct.
Make sure the baseurl in the repository is correct. Either replace the baseurl with a valid url or comment the baseurl and run yum update.
=============================
Martin
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree