主要原因就是yum在自动更新 只要关掉他就可以了 解决方案: 直接输入 rm -f /var/run/yum.pid 或者: /etc/init.d/yum-updatesd stop 也可以等更新完了再进行安装