You are on page 1of 1

In case there are errors regarding YUM (No mirrors found):

1. Remove all yum repo files from /etc/yum.repos.d/


a. rm rf /etc/yum.repos.d/*
2. Clean the yum cache
a. rm rf /var/cache/yum/*
b. yum clean all
3. Recreate the repositories
If still there are errors, try to run #yum-config-manager
If the command is not found run the following:
#yum search yum-config-manager
Output: yum-utils.noarch
Also check whether repositories are enabled: #yum update
Check if the output says if repos are enabled.
Install the createrepo package. If required use #yum install createrepo and use rpm i to install the
packages.
Then create the repo: #createrepo database /repo-source/
And this finally solved all the nonsense!

You might also like