I was trying to use yum on a Centos 7 cluster to install a package, and I was getting the following error:
One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: [...]
I tried several suggested solutions online (
yum clean all
After hours of troubleshooting, I managed to find a workaround. On the
releasever and could not find the repo.
So instead of:baseurl=http://mirror.centos.org/centos/basearch/
after which both yum update and yum install seem to work fine. However, I don't know if this is a permanent solution to the issue.
Can someone tell me what's going on and if there's a more proper way to fix this problem?