Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Any time I do yum install ___, what used to be normally accessible is no longer so.

I think it is because of an installed repository causing the issue.

How do I remove all repositories?

share|improve this question
up vote 1 down vote accepted

Try cleaning yum.

clean [ packages | headers | metadata | cache | dbcache | all ]
share|improve this answer

Removing all of them is a bad idea. Try selectively disabling them using the --disablerepo= switch. You can use that switch multiple times to remove several repos, or you can combine it with the --enablerepo= to create a white list.

yum --disablerepo="*" --enablerepo="rpmforge" install blahblahblah

That'll enable only rpmforge.

Run yum repolist for a list of your repositories.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.