centos 安装mongodb的时候会出现这个问题,所以应该清空/var/cache/yum/目录下面的文件 转载于:https://www.cnblogs.com/epirus/p/3243594.html