I have a RH 7.2 and I want to install postgresql. The first attempt resulted in some failed dependencies. I proceeded to attempt the installation with this command
# rpm -i *.rpm --nodeps
It seems to run ok but when I type postgres (as postgres user), it said that it can't find the /var/lib/data/pg_ctrl. Upon checking /var/lib, there are only 2 directores in it, backup and data. Nothing else.
So I downloaded the rpm to fulfill the libssl.so.1 and libcrypt.so.1 and then typed
# rpm -ivF *.rpm
This time, no more failed dependencies.
But when I return to the /var/lib, again there is nothing there except for the 2 directories.
I tried
#rpm -e *.rpm
to try to remove but it said that postgre(all of the packages) is not installed
but when I put -i, it said that it is already installed.
Any advice on how I can get this working?
# rpm -i *.rpm --nodeps
It seems to run ok but when I type postgres (as postgres user), it said that it can't find the /var/lib/data/pg_ctrl. Upon checking /var/lib, there are only 2 directores in it, backup and data. Nothing else.
So I downloaded the rpm to fulfill the libssl.so.1 and libcrypt.so.1 and then typed
# rpm -ivF *.rpm
This time, no more failed dependencies.
But when I return to the /var/lib, again there is nothing there except for the 2 directories.
I tried
#rpm -e *.rpm
to try to remove but it said that postgre(all of the packages) is not installed
but when I put -i, it said that it is already installed.
Any advice on how I can get this working?