mason
asked Feb 13 2017
Answer
Instead of disabling repos, just create a temp directory inside /etc/yum.repos.d ; Move the unwanted repos to that temp directory. Now when you check with yum repolist command, the repos inside that directory will not be shown...
jagannatharumugam
asked Feb 15 2017
edited Oct 05 2018
How to disable yum repositories in linux
In my yum.repos.d file contain many repos, which may sometimes return some error. How to disable some unwanted repos but it may require later. So instead of removing it should be disabled.