LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum remove openssl issue (https://www.linuxquestions.org/questions/linux-newbie-8/yum-remove-openssl-issue-809601/)

Alans07 05-23-2010 07:19 AM

yum remove openssl issue
 
Hi,

I just executed: yum remove openssl on my virtual test Centos.
I'd like to revert settings back to as it was at the beginning, i mean having all commands again.
Now i don't have ls, wget, yum, find, rpm...etc.

Any idea how to get my Centos back?

thanks

Simon Bridge 05-23-2010 12:48 PM

yum uses openssl to authenticate packages from the repos so removing it will totally break your package management system. I cannot think of any reason to remove it.

backup your data and reinstall ...

Alans07 05-24-2010 04:08 AM

Thanks Simon, actually i was trying to install bind dns 9.7P2 and a message was saying that it couldn't found opensslh.v (not sure about file name) so i removed it :)

I'll reinstall the OS.

regards.

Simon Bridge 05-25-2010 08:35 AM

Quote:

a message was saying that it couldn't found opensslh.v (not sure about file name) so i removed it
You needed to install openssl.h - a header file. Its is the openssl development libs (usually libssl-dev or something like that). I take it the CentOS packaged BIND did not do what you wanted?

SSL = Secure Sockets Layer

see why it is important?

In general, if something tells you you don't have stuff, removing more stuff won't help. You have to add stuff.

vikas027 05-26-2010 02:06 AM

Quote:

Originally Posted by Alans07 (Post 3978317)
Hi,

I just executed: yum remove openssl on my virtual test Centos.
I'd like to revert settings back to as it was at the beginning, i mean having all commands again.
Now i don't have ls, wget, yum, find, rpm...etc.

Any idea how to get my Centos back?

thanks

Even I made this mistake 2-3 years ago :p. Thank God, it was not a production box. Actually, openssl has many dependencies which further are dependent on basic system packages.

That is why never use yum to remove openssl. You might try using "rpm -e"


All times are GMT -5. The time now is 11:38 PM.