Page 1 of 1

Reinstall

Posted: 2014/12/31 07:46:17
by Erastus
Hi Guys,

I installed some software that destroyed postgress, yum & http.
Is there away I can reinstall the system remotely with out affecting the network?
I do not mind to loose all the data as it is a new system that I have.
Else I must travel 120km to reinstall the server.

Many thanks

Re: Reinstall

Posted: 2015/01/05 06:00:06
by vanecka
Hi,

I would reinstall yum using RPM:
Then, cleanup your yum cache:

Code: Select all

yum clean all
If you get RPM database errors in the previous step, reinitialize your RPM database:

Code: Select all

rm -f /var/lib/rpm/__db*
rpm --rebuilddb
yum clean all
yum update
Then try to reinstall the broken packages:

Code: Select all

yum reinstall httpd
If you can fix Yum, you might be able to solve everythin (with a lot of effort) without reinstalling.

Hope this helps, good luck.