Download your favorite Linux distribution at LQ ISO.
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, 10: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, 12: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,560
Blog Entries: 14

Rep: Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964
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
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,578

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
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
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 02: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 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' ..waiting.. waiting .. GrapefruiTgirl LQ Suggestions & Feedback 18 05-25-2007 05:35 AM

All times are GMT -5. The time now is 11:23 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