Check the files in /etc/yum.repos.d and make sure that they don't all have enabled = 0 (there may be more than one per file). just run this commands : 1) yum clean all 2) yum clean metadata 3) yum update