I just installed CentOS 6. I tried running yum update and was having trouble getting that to work, so I tried yum clean all and now my situation seems even worse than before. Based upon what I pasted below, can someone please help me fix my yum repository? Thanks.
[root@zedo-pc 1234]# yum update
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirror.7x24web.net
* extras: mirror.linux.duke.edu
* updates: mirror.lug.udel.edu
Error: no such table: packages
[root@zedo-pc 1234]# yum clean all
Loaded plugins: fastestmirror, refresh-packagekit
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@zedo-pc 1234]# yum update
Loaded plugins: fastestmirror, refresh-packagekit
Determining fastest mirrors
* base: mirror.lug.udel.edu
* extras: mirror.symnds.com
* updates: mirror.rackspace.com
Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
Best Answer
Once you run
yum clean all
, try runningyum makecache
. Also check which repositories are enabled now (not that conf files could be goofed up)yum repolist