Yum: Cannot find a valid baseurl for repo

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

What kind of problem is…???

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:


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

What is the output of this command?

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

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…?

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)


It works! What is the problem…??

I tried the uncommenting and received a Permission denied? Any ideas?

Hi @Robert_Mickolay,

when exactly did you get the “permission denied”? When trying to save /etc/yum.repos.d/CentOS-Base.repo or when doing the yum update?
You may just try again, maybe the system did an auto update in the background.

1 Like