Cannot find a valid baseurl for repo: contrib
Error: Cannot find a valid baseurl for repo: contrib
It doesn't like what you have configured for the repository contrib
To find out what you have defined do a
db yum_repositories show contrib
BTW, contrib is normally defined as a centos contibutions repository and shouldn't be enabled by default.
Sugegsted approach is to have it disabled by default and add --enablerepo=contrib to the yum line any time you wish to load something from that repository, eg
yum --enablerepo=contrib install <package>
You can disable this repository via
db yum_repositories setprop contrib status disabled
Trevor B
PS. as stated in the other post, you can view which repositories you have enabled via the server-manager panel for yum