LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2013, 11:29 AM   #1
Anubhab
LQ Newbie
 
Registered: Dec 2012
Posts: 18

Rep: Reputation: Disabled
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
 
Old 01-31-2013, 11:49 AM   #2
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 -Current
Posts: 890

Rep: Reputation: 186Reputation: 186
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.
 
1 members found this post helpful.
Old 01-31-2013, 01:31 PM   #3
Anubhab
LQ Newbie
 
Registered: Dec 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
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?
 
Old 01-31-2013, 01:45 PM   #4
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 -Current
Posts: 890

Rep: Reputation: 186Reputation: 186
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.

Last edited by PrinceCruise; 01-31-2013 at 01:48 PM.
 
Old 02-07-2013, 03:09 AM   #5
vikky
LQ Newbie
 
Registered: Apr 2012
Posts: 26
Blog Entries: 1

Rep: Reputation: Disabled
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
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Another app is currently holding the yum lock 9nine9 Fedora 28 09-28-2014 02:40 AM
deian yum lock [ ERR] Reading state information E: Could not get lock /var/lock/aptit jayakumar01 Linux - Server 1 12-05-2011 11:26 AM
Another app is currently holding the yum lock; waiting for it to exit... Shwick Linux - Newbie 3 07-25-2011 12:02 PM
[SOLVED] How to get rid of yum lock? your_shadow03 Linux - Newbie 1 12-25-2009 12:42 AM
Fedora 8 and NoMachine "Could not create lock file in /tmp/.tX1002-lock" ln3wb13 Linux - Software 3 05-17-2008 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration