-   Linux - Newbie (
-   -   yum lock in fedora (

Anubhab 01-31-2013 11:29 AM

yum lock in fedora
i use recently i don't know what i have done, so that whenever i am entering the root, it is showing 'another app is currently holding the yum lock.waiting for it to exit' after which some lines are being is continuing like an infinite loop and don't stop

PrinceCruise 01-31-2013 11:49 AM

That's most probably your automatic system updates in the background which are locking up yum. Use :-


ps -ef | grep -i yum
to see which process is using yum and if required kill it and proceed further.


Anubhab 01-31-2013 01:31 PM

when i uesd the command, it showed the result-"anubhab 4477 4402 0 00:59 pts/0 00:00:00 grep --color=auto -i yum"..then what should i do next?

PrinceCruise 01-31-2013 01:45 PM

Lol,this is what happened to me years ago. ;)
Check the following thread and post #7. Just remove the file from /var/run/ and you're done.


EDIT : Bit of advice, learn to search and a lot of it. It will make your Linux journey way more easier.

vikky 02-07-2013 03:09 AM

check the process what is running

ps -ef | grep -i yum

and kill the process

kill -9 pid

than restart autofs service

it should work

All times are GMT -5. The time now is 01:34 PM.