Fedora Linux Support Community & Resources Center
  #1  
Old 26th July 2012, 06:49 AM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 1,046
linuxfirefox
Error: Another app is currently holding the yum lock

Hi,

I am using Fedora 17 LXDE 32+ bit distro and this is error I am getting in a terminal when I try to install a package being root. Thanks.


Code:
[root@localhost john]# yum install python*
Loaded plugins: aliases, auto-update-debuginfo, changelog, dellsysid,
              : downloadonly, fastestmirror, filter-data, fs-snapshot, keys,
              : langpacks, list-data, local, merge-conf, post-transaction-
              : actions, presto, priorities, protectbase, ps, puppetverify,
              : refresh-packagekit, refresh-updatesd, remove-with-leaves, rpm-
              : warm-cache, security, show-leaves, tmprepo, tsflags, upgrade-
              : helper, verify, versionlock
Existing lock /var/run/yum.pid: another copy is running as pid 1686.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  31 M RSS (117 MB VSZ)
    Started: Thu Jul 26 10:25:08 2012 - 52:48 ago
    State  : Sleeping, pid: 1686
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  31 M RSS (117 MB VSZ)
    Started: Thu Jul 26 10:25:08 2012 - 52:50 ago
    State  : Sleeping, pid: 1686
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo
Reply With Quote
  #2  
Old 26th July 2012, 07:52 AM
Bazu135 Offline
Registered User
 
Join Date: Aug 2011
Location: Luton, UK
Age: 28
Posts: 291
linuxfirefox
Re: Error: Another app is currently holding the yum lock

Try entering ps -p1686 in a terminal - that'll tell you which process is holding the lock.

If you feel it shouldn't be, you can kill the process (kill 1686), but obviously you want to be careful about this in case the process is in the middle of something!

Edit: Apologies; forgot that it already says yum has the lock. Too early for me; my cup of tea hasn't kicked in The second half of my reply stands though; if you're sure that you don't already have an instance of yum open somewhere else (remembering to allow for GUI package managers etc), you can consider killing it - on your own head be it though!
__________________
I generally use two tools - trial and error. They fix most things eventually!

Last edited by Bazu135; 26th July 2012 at 07:54 AM.
Reply With Quote
  #3  
Old 26th July 2012, 12:34 PM
glway Offline
Registered User
 
Join Date: Sep 2011
Posts: 44
windows_xp_2003firefox
Re: Error: Another app is currently holding the yum lock

Code:
sudo yum-complete-transaction
that should take care of it.
Reply With Quote
  #4  
Old 26th July 2012, 01:48 PM
tech291083 Offline
Registered User
 
Join Date: Sep 2006
Posts: 1,046
linuxfirefox
Re: Error: Another app is currently holding the yum lock

Thanks you friends, here is what I did and it worked...


Code:
ps aux | grep yum
Then I killed the process

Code:
ps -e | grep yum
kill -SIGKILL 1686
__________________
fedoralinuxcommands.blogspot.com


All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo
Reply With Quote
  #5  
Old 18th October 2012, 06:02 PM
Ihatewindows Offline
Banned
 
Join Date: Oct 2012
Location: Fort Wayne, IN
Posts: 1,135
linuxfirefox
Re: Error: Another app is currently holding the yum lock

Yeah, another way is to go into your system monitor and kill yum.
Reply With Quote
Reply

Tags
app, error, holding, lock, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another app is currently holding the yum lock . why ? iraqb Using Fedora 7 19th September 2010 07:56 AM
Could not get lock for camera error tmort Hardware & Laptops 0 22nd March 2010 02:13 AM
PackageKit holding yum lock GoinEasy9 Fedora 13 Development Branch 6 17th March 2010 10:48 PM
GUI App install is hanging and holding yum lock Jeff91 Using Fedora 0 25th January 2009 10:16 PM
Cannot end program holding the yum lock Karmaflute Using Fedora 1 20th May 2008 12:21 PM


Current GMT-time: 20:09 (Friday, 29-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat