Wallpapers Forums Login

Another App Is Currently Holding The Yum Lock; Waiting For It To Exit...

what does this error mean:

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

i've never see this error before, how can i stop it?
surya Sun Sep 11, 2011
Thank u soo much....!!
iwan Wed Jun 22, 2011
Realy awesome kill -9. thanks everyone
garry Thu Mar 31, 2011
31-5689-sardar-jee.jpg
awesome.....wrk for me
guru Fri Feb 18, 2011
kill -9 worked for me, thanks
silna Fri Oct 15, 2010
while installing its showing
Existing lock /var/run/yum.pid: another copy is running. Aborting.


code is showned below

[root - at - localhost ~]# yum install munin-1.4.5.tar.gz

Exist lock /var/run/yum.pid: another copy is running. Aborting.
[root - at - localhost ~]# ps aux | grep yum
root 2338 0.0 0.4 21052 10224 pts/0 T Oct13 0:00 /usr/bin/python /usr/bin/yum install munin-1.4.5.tar.gz
root 2822 0.0 0.8 28592 16524 ? SN 00:58 0:00 /usr/bin/python /usr/share/PackageKit/hel get-updates none
root 3220 0.0 0.4 21052 10192 pts/0 T 01:58 0:00 /usr/bin/python /usr/bin/yum info
root 3222 0.0 0.4 21048 10184 pts/0 T 01:58 0:00 /usr/bin/python /usr/bin/yum info
root 3334 0.0 0.4 21052 10200 pts/0 T 02:12 0:00 /usr/bin/python /usr/bin/yum install munin-1.4.5.tar.gz
root 7792 0.0 0.8 28592 16536 ? SN 05:03 0:00 /usr/bin/python /usr/share/PackageKit/hel get-updates none
[root - at - localhost ~]# kill 2338
[root - at - localhost ~]# ps aux | grep yum
root 2338 0.0 0.4 21052 10224 pts/0 T Oct13 0:00 /usr/bin/python /usr/bin/yum install munin-1.4.5.tar.gz
root 2822 0.0 0.8 28592 16524 ? SN 00:58 0:00 /usr/bin/python /usr/share/PackageKit/hel get-updates none
root 3220 0.0 0.4 21052 10192 pts/0 T 01:58 0:00 /usr/bin/python /usr/bin/yum info
root 3222 0.0 0.4 21048 10184 pts/0 T 01:58 0:00 /usr/bin/python /usr/bin/yum info
root 3334 0.0 0.4 21052 10200 pts/0 T 02:12 0:00 /usr/bin/python /usr/bin/yum install munin-1.4.5.tar.gz
root 7792 0.0 0.8 28592 16536 ? SN 05:03 0:00 /usr/bin/python /usr/share/PackageKit/hel get-updates none
root 7820 0.0 0.0 4200 732 pts/0 S 05:14 0:00 grep yum

srikrishnad Thu Jul 01, 2010
hi all i got solution for issues thank u all
shyamkumar Mon Feb 15, 2010
15-5689-screenshot-1.png|17010
add/remove option not working in my linux system (centos)
lawrence Mon Jan 26, 2009
ok, the only way i could get rid of that PID was to reboot my server, after i reboot, it it was gone:
reboot

Broadcast message from root (pts/0) (Mon Jan 26 12:38:36 2009):

The system is going down for reboot NOW!
so now i send it again, and its gone, i was able to get rid of it by rebooting.
ps aux | grep yum
root      4052  0.0  0.0   4028   716 pts/0    S+   13:00   0:00 grep yum
wallpaperama Mon Jan 26, 2009
if you see on the output of your command, the message says "another copy is running as pid 19562" so all you have to do is send this command:

kill 19562
lawrence Mon Jan 26, 2009
i made a typo on my command, and now i am getting this error:

i send the command:
yum info lynx
Then i noticed it got stuck it wasnt doing anything so i tried the control-c to stop it, but that wasnt doing anything, so then i hit the break key on my keyboard and that stopped it i got the command prompt again...

Then i got this message after i send the correct command:
yum list lynx
[root]# yum list lynx
Existing lock /var/run/yum.pid: another copy is running as pid 19562.
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
so now i followed your instructions and i send your command:
ps aux | grep yum

What's the PID on this output?
[root]# ps aux | grep yum
root      2576  0.0  0.3  22620 11880 ?        SN   Jan25   0:01 /usr/bin/python /usr/sbin/yum-updatesd
root     19562  0.1  0.3  21352 11040 pts/0    T    12:21   0:00 /usr/bin/python /usr/bin/yum info lynx
root     19622  0.0  0.0   4028   720 pts/0    S+   12:24   0:00 grep yum
G Mon May 05, 2008
good i got the solution for ur blog thanks...
larycab89 Mon Jan 28, 2008
i dont know if this is good advise, but i found this, just google it

hit ctrl-c; that's the key combination to kill any currently running process in a bash shell or terminal.

to find out what's locking up yum, try running:

# ps aux | grep yum


note the pid number of the process and run this to kill the process:

# kill (insert pid number)


check to see if the process has been killed by rerunning:

# ps aux | grep yum


if not, rinse and repeat until the process is killed; some processes can be very stubborn.

if that doesnt work, try this command:


kill -9 <pid>
Lija Wed Aug 01, 2012
pkill -9 pid

eg:

pkill -9 3567

Related Content

Information

Share

wallpaperama | Wallpapers | Forums | Terms Of Service

copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5