[CentOS] invalid base url

Alessandro Baggi alessandro.baggi at gmail.com
Fri Dec 7 08:08:33 UTC 2018


Il 06/12/18 20:54, Jerry Geis ha scritto:
> I have a number of updates to C7.6
> but now I am getting
> 
> Cannot find a valid baseurl for repo base/7/x86_64
> 
> Did something happen? What do I do ?
> This machine has internet access and appears to resolve other sites. I get
> a list when trying to access mirrorlist...
> 
> Thanks,
> 
> Jerry
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 

Hi Jerry,
I got the same sort of problem times ago. My problem was that a centos 
base mirror did not release centos update and I needed to change my base 
repos. I don't know why you can't resolve other sites. First of all you 
can try resolving same dns with nslookup and see if it resolv dns. If 
yes then try:

  # yum clean all
  # yum update

else you can try to resolve dns with another dns address like:

  # nslookup basedns IP


List of new dns:

Google: 8.8.8.8 - 8.8.4.4
OpenDNS: 208.67.222.222 - 208.67.220.220
Cloudflare: 1.1.1.1 - 1.0.0.1

My 2 cents



More information about the CentOS mailing list