Unistall PackageKit

Issues related to applications and software problems
Post Reply
chirico
Posts: 2
Joined: 2011/09/01 18:52:29
Contact:

Unistall PackageKit

Post by chirico » 2011/09/01 21:38:02

Hello

I have Centos 6 with GNOME in my computer and i want to use yum to install some software, but the system won`t let me. Everytime i want to use yum, it tells me that the lock is being used by other aplication: Packagekit

I want to uninstall this for using yum. Please, help me with that.

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Unistall PackageKit

Post by scottro » 2011/09/03 12:56:14

Look in /etc/init.d and see if there's something called packagekit or possibly yumupdates. (One reason I avoid Gnome is that RedHat and friends insist on tons of extra bloat--trying to remove packagekit becomes more trouble than it's worth due to various dependencies.)


I forget what it's called now--at any rate, you can stop the service by using the service command--this requires root privilege. If it's called packagekit, then the command is


service packagekit stop


chkconfig packagekit off

I would also go into /etc/yum/pluginconf.d and if there's a something.conf with the name packagekit in it, make sure it's set to 0 rather than 1.

r_hartman
Posts: 711
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: Unistall PackageKit

Post by r_hartman » 2011/09/05 06:48:53

What's bugging you is likely the PackageKit Update Applet, which starts once you sign on to a Gnome session and checks for updates, using (and therefore locking) yum.
I simply disabled the applet through System -> Preferences -> Startup Applications.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Unistall PackageKit

Post by pschaff » 2011/09/15 15:20:56

You can also just let yum wait until the check is done. It usually does not take too long to run, and yum is smart enough to keep checking.

heiden98
Posts: 7
Joined: 2006/02/03 09:59:40
Location: Wendland, Germany

Re: Unistall PackageKit

Post by heiden98 » 2015/04/04 11:52:47

Found on docs.hortonworks.com :
--------
open /etc/yum/pluginconf.d/refresh-packagekit.conf with a text editor and make this change:
enabled=0
-------

Worked for me, centos 6.6 + xfce (the above solutions are gnome biased)

Cheers, gh
---
Cheers,
gh

Post Reply