使用rpm -ivh http://mirrors.ustc.edu.cn/fedora/epel/6/i386/epel-release-6-6.noarch.rpm(我是32位的系统)

安装EPEL源后使用YUM安装工具安装软件后出现如下错误:

epel/primary_db                                                                  | 2.7 MB     00:00    
http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/6/i386/repodata/84bbc42d824e4fc6eb3623d401f0550f4e69b1f7586a24f46973914827d39960-primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
epel/primary_db                                                                  | 2.7 MB     00:00    
http://ftp.kddilabs.jp/Linux/packages/fedora/epel/6/i386/repodata/84bbc42d824e4fc6eb3623d401f0550f4e69b1f7586a24f46973914827d39960-primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
epel/primary_db                                                                  | 2.7 MB     00:00    
http://mirrors.yun-idc.com/epel/6/i386/repodata/84bbc42d824e4fc6eb3623d401f0550f4e69b1f7586a24f46973914827d39960-primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.

rpm -e  epel-release-6-6.noarch 后换其它epel源还是一样的问题。

查找相关文件,都说是虚拟机NAT网络的问题改成桥接可以解决。我的原本就是桥接模式的,我试着将网卡改成NAT模式然后再改回桥接模式后问题解决。