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.
Unistall PackageKit
Re: Unistall PackageKit
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.
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.
Re: Unistall PackageKit
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.
I simply disabled the applet through System -> Preferences -> Startup Applications.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Unistall PackageKit
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.
Re: Unistall PackageKit
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
--------
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
Cheers,
gh