I have installed OpenLDAP with yum, but I have accidentally deleted some of the config files. I am not able to recover them. I want to uninstall it. I tried the following command but it ends with an error:
--> Processing Dependency: PackageKit-glib = 0.5.8-20.el6 for package: PackageKit-gtk-module-0.5.8-20.el6.x86_64 --> Running transaction check ---> Package PackageKit-device-rebind.x86_64 0:0.5.8-20.el6 will be erased ---> Package PackageKit-gstreamer-plugin.x86_64 0:0.5.8-20.el6 will be erased ---> Package PackageKit-gtk-module.x86_64 0:0.5.8-20.el6 will be erased --> Finished Dependency Resolution Error: Trying to remove "yum", which is protected You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Can someone please tell how to uninstall it properly so I can install it again and make the config changes?