解决yum进程
Existinglock/var/run/yum.pid:anothercopyisrunningaspid2503. Anotherappiscurrentlyholdingtheyumlock;waitingforittoexit... Theotherapplicationis:yum Memory:19MRSS(306MBVSZ) Started:ThuOct2923:03:022015-04:00ago State:Traced/Stopped,pid:2503 Anotherappiscurrentlyholdingtheyumlock;waitingforittoexit..
因为你已经有yum命令在进程里执行所以会出行以上错误结局方案就是强行解锁yum进程
rm-rf/var/run/yum.pid然后就可以正常使用你的yum了