LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Another app is currently holding the yum lock; waiting for it to exit... (http://www.linuxquestions.org/questions/linux-newbie-8/another-app-is-currently-holding-the-yum-lock%3B-waiting-for-it-to-exit-893168/)

Shwick 07-22-2011 10:53 AM

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?

MensaWater 07-22-2011 12:48 PM

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.)

smallpond 07-22-2011 12:56 PM

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.

Shwick 07-25-2011 12:02 PM

Thank you smallpond.

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


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