Results 1 to 10 of 14
This is the message I'm stuck up with could anyone help me understand what is this?
Very thanks in advance...
- 05-22-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 2
Another app is currently holding the yum lock; waiting for it to exit...
This is the message I'm stuck up with could anyone help me understand what is this?
Very thanks in advance
- 05-22-2010 #2
Typicaly, that goes away in 60-90 seconds. In your case does this just keep happening endlessly? What does ps aux | grep yum show?
Glenn
Powered by Fedora 16 and Arch Linux
- 05-22-2010 #3Linux User
- Join Date
- Nov 2009
- Location
- France
- Posts
- 292
I'm not on Fedora but the error mesage seems quite clear. Some running application has locked the RPM database and yum can't start. It's probably another yum process. Try to find the process identifier and kill that process :
If it's not another yum process, it may be hard to find out, just reboot if it's not a 24/7 server.Code:ps -e | grep yum kill -SIGKILL <pid>
0 + 1 = 1 != 2 <> 3 != 4 ...
Until the camel can pass though the eye of the needle.
- 05-22-2010 #4Just Joined!
- Join Date
- May 2010
- Posts
- 2
- 05-22-2010 #5
Yum is the tool to update the system, along with PackageKit. Yum is typically used from the command line. You see the message you are seeing quite often when you try to use yum to install something. For example,
The message tends to repeat until the lock is released and then yum proceeds as expected. If you don't want to wait you can kill the process and then issue the yum install command.Code:yum install somepackage Another app is currently holding the yum lock; waiting for it to exit...
Glenn
Powered by Fedora 16 and Arch Linux
- 05-22-2010 #6
It looks like yum update package is running in the background.
Execute this in Terminal :
Code:su - service yum-updatesd stop yum update
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-22-2010 #7Just Joined!
- Join Date
- Mar 2009
- Location
- Santa Cruz, California
- Posts
- 52
A bit more detail -
yum is an update manager for RedHat, Fedora, and other distibutions that use .rpm packages. The original version was written for Yellowdog Linux, so YUM originally stood for "Yellowdog Update Manager". The lock is a file or bit or byte set when a program is started to manage something, to keep another program from accessing the same resource (in this case packages).
The simplest way to solve this problem is to reboot, as locks will generally be unset after a boot - as someone else mentioned, this might not be a good way if the system is a server that other people or computers are depending on, but for a personal system that's generally ok.
- 05-22-2010 #8
No need to reboot as far as I'm concerned. Stop the process that is holding the lock and move on.
Glenn
Powered by Fedora 16 and Arch Linux
- 05-23-2010 #9Linux Newbie
- Join Date
- Oct 2008
- Posts
- 140
How do you get this error message? As far as I know of, it only comes when you are running yum.
To find the other process type,
[you@Yourbox ~]$ps aux | grep yum
This should give you something like this,
username 30122 16.3 0.7 283544 14452 pts/0 R+ 17:55 0:00 /usr/bin/python/usr/bin/yum update
root 30124 0.0 0.0 103244 840 pts/9 S+ 17:55 0:00 grep yum
Here we see two processes running from the Yum program. In your situation there are probably three. The first will be the oldest, probably the one that's holding the yum lock. The most recent is your search with ps aux...
Find the "other program"
and send it to meet it's maker
The first set of numbers in each process is the Process Identification Number or PID.
Kill the PID
[you@Yourbox ~]$su -c "kill -9 PID".
You'll be asked for the root password (only root can kill root's processes), and then the kill program will run.
Please let us know if this works, it should be immediate.
You should not need to reboot Linux very often, certainly not for this small problem. Kurt
- 05-23-2010 #10
There is no need to kill any process. As I mentioned ealier, first of all, stop yum-updatesd services. It will sort out problem.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
