0

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.

mason
asked Feb 13, 2017
1 Answer
1

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...

View More
jagannatharumugam
answered Feb 15, 2017
Your Answer
||||
 
100:0