Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers

up vote 1 down vote accepted

Try cleaning yum.

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

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
add comment

Your Answer

 
discard

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.