LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-22-2011, 10:53 AM   #1
Shwick
Member
 
Registered: Jun 2008
Posts: 111

Rep: Reputation: 15
Another app is currently holding the yum lock; waiting for it to exit...


I'm trying to install wireshark on Fedora(latest version with gnome3) and I keep getting the above error.

I keep killing the offending process after finding it's pid using "ps aux | grep yum", but the same process spawns again with a different pid.

root 1605 0.0 3.4 54424 26228 ? SN 10:51 0:02 /usr/bin/python /usr/share/PackageKit/helpers/yum/yumBackend.py get-updates none

How can I properly kill this process, or use yum to install wireshark properly?
 
Old 07-22-2011, 12:48 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,007
Blog Entries: 5

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Is yum-updatesd running? If so running "service yum-updatesd stop" will stop it.

If the process is being respawned you might check for its parent PID and see what that is. Alternatively if it is bizarre maybe someone actually added it to /etc/inittab to respawn which tells it to restart every time it dies. (Unlikely but not impossible.) That can be changed to "off" from "respawn". (CAUTION: I'm only talking about a process that possibly runs yum - do NOT turn off all lines in inittab.)
 
Old 07-22-2011, 12:56 PM   #3
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,533

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
You on Fedora? Either use PackageKit to install your software or disable it and use yum directly but not both. The PackageKit FAQ says: PackageKit does not stop you using the low level tools yourself. They're lying.
 
Old 07-25-2011, 12:02 PM   #4
Shwick
Member
 
Registered: Jun 2008
Posts: 111

Original Poster
Rep: Reputation: 15
Thank you smallpond.

To disable packagekit: in terminal run gpk-prefs and select "Check for updates: Never ".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 27 04-02-2014 01:09 AM
[SOLVED] In compiz, mouse clicks work in an app only while holding down the CTRL or ALT key Ehtetur Linux - Software 3 09-09-2010 02:13 AM
LXer: Exit costs of lock-in: Anticipate or it's too late! LXer Syndicated Linux News 0 08-10-2010 12:40 PM
Mouse clicks work in an app only while holding down the CTRL or ALT key Ehtetur Linux - Hardware 0 08-09-2010 06:47 PM
My browser, all day today: 'waiting for linuxquestions.org...' ..waiting.. waiting .. GrapefruiTgirl LQ Suggestions & Feedback 18 05-25-2007 05:35 AM


All times are GMT -5. The time now is 09:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration