Skip to content
Advertisement

How to uninstall RPM without dependencies error in cent os?

I installed the openssl rpm some long days ago. After that i am unable to uninstall the rpm so that i deleted the /usr/bin/openssl folder manually.Though I deleted it manually, when i grep using this command rpm -qa openssl i can find the rpm. But when i execute the openssl command in terminal it is showing bash: openssl: command not found...

When try to uninstall i am getting following error

JavaScript

And also when i am tryiong to install the rpm it is showing that following output

JavaScript

Finally, I need the openssl package should be installed in my centOS 7 or else i need to remove the openssl package completely without any dependencies error.

Advertisement

Answer

You have a couple of options here:

JavaScript

If you want openssl in your system, I would try (3) first. If that doesn’t work, try (2) and then do a yum install openssl. (3) and (1) are the options to use. (2) will cause the dependency package to stay in the system and the dependent package may malfunction.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement