open source mirror of 163: http://mirrors.163.com/
as a root user
yum clean all
But an error occurs:
Timeout on http://mirrors.163.com/centos/6Server/os/x86_64/repodata/repomd.xml
PYCURL ERROR 22- The requested URL returned errer: 404
I can’t find this directory in 163’s webserver (but I do find http://mirrors.163.com/centos/6/os/x86_64/repodata/repomd.xml), so I guess some thing wrong in .repo file.
As for me, I changed all
To here, your problem might be solved. For my question about repomd.xml directory is solved, but error of “Timeout on ***” and “cannot retrieve repository metadata” still occur.
I looked up /etc/yum.conf file, and found “proxy” field is available (this may lead me unable to connect 163’s webserver). So I comment them out and yum command works out.