Yum: Cannot find a valid baseurl for repo

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)

2 Likes