Yum: Cannot find a valid baseurl for repo


(Christian Plaza) #1

When I have to make a update, why appers Loaded pluging, and don´t make the update.loadedcannot find

What kind of problem is…???

(Markus Neuberger) #2

Hi @kristian1369,

seems like there’s a problem with the internet connection/dns resolving.

Can you ping/nslookup the mirrors?
Do you use IPS, it may block updates?
Is your NethServer behind a proxy?

Found some info about this:



Google has a lot of links about this too:


(Christian Plaza) #3

I can ping any internet direction, my nethserver is not behind a proxy and my ISP don´t block updates… what I can do…?

(Marc) #4

What is the output of this command?

curl -L 'http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock'

(Christian Plaza) #5

This is the result of the comand…result

I think the error is in the mirrorlist, how I can change the mirrorlist to another contry…?

(Marc) #6

The output is OK.
You can try uncommenting the baseurl in /etc/yum.repos.d/CentOS-Base.repo (removing the leading # on the baseurl line)

(Christian Plaza) #7

It works! What is the problem…??