 |
 |
 |
 |
| Fedora Spins & Remixes Here's the place to show off your personally styled Fedora! |

26th July 2012, 06:49 AM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 988

|
|
|
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
|

26th July 2012, 07:52 AM
|
 |
Registered User
|
|
Join Date: Aug 2011
Location: Luton, UK
Age: 27
Posts: 291

|
|
|
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.
|

26th July 2012, 12:34 PM
|
|
Registered User
|
|
Join Date: Sep 2011
Posts: 42

|
|
|
Re: Error: Another app is currently holding the yum lock
Code:
sudo yum-complete-transaction
that should take care of it.
|

26th July 2012, 01:48 PM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 988

|
|
|
Re: Error: Another app is currently holding the yum lock
Thanks you friends, here is what I did and it worked...
Then I killed the process
Code:
ps -e | grep yum
kill -SIGKILL 1686
|

18th October 2012, 06:02 PM
|
 |
Registered User
|
|
Join Date: Oct 2012
Location: Fort Wayne, IN
Posts: 1,112

|
|
|
Re: Error: Another app is currently holding the yum lock
Yeah, another way is to go into your system monitor and kill yum.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 22:14 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|