[email protected] network-scripts]# Yum install vim
Loaded Plugins:fastestmirror
Existing lock/var/run/yum.pid:another copy is running as PID 2503.
Another app is currently holding the Yum lock; Waiting for it to exit ...
The other application Is:yum
Memory:19 M RSS (306 MB VSZ)
Started:thu Oct 23:03:02 2015-04:00 ago
state:traced/stopped, pid:2503
Another app is currently holding the Yum lock; Waiting for it to exit ...
The other application Is:yum
Memory:19 M RSS (306 MB VSZ)
Started:thu Oct 23:03:02 2015-04:02 ago
state:traced/stopped, pid:2503
Another app is currently holding the Yum lock; Waiting for it to exit ...
The other application Is:yum
Memory:19 M RSS (306 MB VSZ)
Started:thu Oct 23:03:02 2015-04:04 ago
state:traced/stopped, pid:2503
Another app is currently holding the Yum lock; Waiting for it to exit ...
The other application Is:yum
Memory:19 M RSS (306 MB VSZ)
Started:thu Oct 23:03:02 2015-04:06 ago
state:traced/stopped, pid:2503
Another app is currently holding the Yum lock; Waiting for it to exit ...
The other application Is:yum
Memory:19 M RSS (306 MB VSZ)
Started:thu Oct 23:03:02 2015-04:08 ago
state:traced/stopped, pid:2503
Another app is currently holding the Yum lock; Waiting for it to exit ...
The other application Is:yum
Memory:19 M RSS (306 MB VSZ)
Started:thu Oct 23:03:02 2015-04:10 ago
state:traced/stopped, pid:2503
Another app is currently holding the Yum lock; Waiting for it to exit ...
The other application Is:yum
Memory:19 M RSS (306 MB VSZ)
Started:thu Oct 23:03:02 2015-04:12 ago
state:traced/stopped, pid:2503
Workaround:
Rm-rf/var/run/yum.pid to forcibly unlock, then you can use your Yum as usual.
This article is from the "Breght Moon" blog, make sure to keep this source http://liqingbiao.blog.51cto.com/3044896/1707723
Troubleshooting Linux appears as follows error: Another app is currently holding the Yum lock;