Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-22-2011, 11:53 AM   #1
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/ get-updates none

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

Rep: Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847
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, 01:56 PM   #3
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,279

Rep: Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579
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, 01:02 PM   #4
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 ".


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

All times are GMT -5. The time now is 10:57 PM.

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