[CentOS] lost CentOS repositories from yum

Wed Jul 1 03:08:29 UTC 2009
Sagar Koirala <sagar.koirala at gmail.com>


I was using yum, which was working very well. Then I decided to try
yumex, and installed yumex, which again worked fine. But, after that,
when I came back to use console yum, it started giving error messages.
So, I removed yumex and tried, in vain. Then I removed yum, and
installed it with rpmforge repository.

It works fine, but I only have rpmforge repository. How can I add
CentOS repositories like Addons, Extras, etc back to my yum?