LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum lock in fedora (http://www.linuxquestions.org/questions/linux-newbie-8/yum-lock-in-fedora-4175448015/)

Anubhab 01-31-2013 11:29 AM

yum lock in fedora
 
i use fedora..bt 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 displayed..it 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 :-

Quote:

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

Regards.

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 yum.pid file from /var/run/ and you're done.

http://www.linuxquestions.org/questi...roblem-751840/

Thanks.

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 02:36 PM.