故障现象:
  
[root@rsync yum.repos.d]# yum install lrzsz -y  

Loaded plugins: fastestmirror, security

Existing lock /var/run/yum.pid: another copy is running as pid 983.

Another app is currently holding the yum lock; waiting for it to exit...

  The other application is: yum

    Memory :  61 M RSS (767 MB VSZ)

    Started: Tue Nov 17 17:44:51 2015 - 07:17 ago

    State  : Traced/Stopped, pid: 983

Another app is currently holding the yum lock; waiting for it to exit...

  The other application is: yum

    Memory :  61 M RSS (767 MB VSZ)

    Started: Tue Nov 17 17:44:51 2015 - 07:19 ago

    State  : Traced/Stopped, pid: 983 

解决方法:


rm -rf /var/run/yum.pid 来强行解除锁定,然后你的yum就可以运行了