可能是系统自动升级正在运行,yum在锁定状态中。

Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  19 M RSS (304 MB VSZ)
    Started: Fri Oct 10 09:05:58 2014 - 10:40 ago
    State  : Traced/Stopped, pid: 1272

 可以通过强制关掉yum进程:
#rm -f /var/run/yum.pid
然后就可以使用yum了。