All previous answers are correct but unfortunately did not work for me. The below command worked for me:
Warning this will delete all of you Centos repos !!! use this at your own risk
mkdir ~/backup
cp -r /etc/yum.repos.d/Cen* ~/backup
rm /etc/yum.repos.d/Cen*