I encountered yum lock problem caused by PackageKit when I was trying to update some packages in my CentOS (6.4) server.
Now, my work around for this is to disable the PackageKit in my start-up.
- Go to System Preferences.
- In Personal tab, select/click Startup Applications.
- Uncheck PackageKit Update Applet in Startup Programs tab
- Close. Reboot. Then you’re good to go.
If you have other means on how to solve this thing without disabling it, kindly leave a reply. Thanks! 🙂