Software >> OS >> Unix >> Linux >> RHEL >> How to disable packagekit to avoid yum lock errors when running yum command

 

rhel 6


## disable permanently

vi /etc/yum/pluginconf.d/refresh-packagekit.conf


## change as follows

From:
enabled=1

To:
enabled=0

rhel 7/8


systemctl stop packagekit
systemctl disable packagekit