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

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

 

1. Error we are getting from yum

[root@Centos6 ~]# yum install nagios
Loaded plugins: fastestmirror, refresh-packagekit, security
Existing lock /var/run/yum.pid: another copy is running as pid 11016.
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 21 M RSS ( 35 MB VSZ)
Started: Tue Jan 8 08:47:19 2013 – 08:06 ago
State : Traced/Stopped, pid: 11016
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 21 M RSS ( 35 MB VSZ)
Started: Tue Jan 8 08:47:19 2013 – 08:08 ago
State : Traced/Stopped, pid: 11016
^CExiting on user cancel.[root@Centos6 ~]#

2. Howto fix that error

kill -9 [ps-id]

[root@Centos6 ~]# kill -9 11016

That’s all. Thanks for using IThelpblog.com.

 

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>