Home »
Linux
How to Resolve Another app is currently holding the yum lock; waiting for it to exit…
I believed that some of the linux users especially the system administrators facing this kind of error message when you run the yum command:
To remove the pid, please run command rm -f and follow with yum.pid path and [pid number]
Find out what is the locking up yum by running:
Tags:
HDH
,
Linux
Existing lock /var/run/yum.pid: another copy is running as pid [pid number]. Another app is currently holding the yum lock; waiting for it to exit...
[root@server /]# yum install [service name] Loaded plugins: fastestmirror Existing lock /var/run/yum.pid: another copy is running as pid 20360. Another app is currently holding the yum lock; waiting for it to exit... The other application is: yum Memory : 19 M RSS (396 MB VSZ) Started: Sun Mar 6 21:06:51 2011 - 00:29 ago State : Traced/Stopped, pid: 20360
Exiting on user cancel.
To remove the pid, please run command rm -f and follow with yum.pid path and [pid number]
[root@server /]# rm -f /var/run/yum.pid 20360
Find out what is the locking up yum by running:
[root@server /]# ps aux | grep yum
[root@server /]# kill -9 [insert pid]
Tin liên quan
Comments[ 0 ]