Can't install PostgreSQL server on Centos Machine.
I simply added official repo with PostgreSQL
rpm -ivh https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-centos95-9.5-3.noarch.rpm
And then ran
yum install yum install postgresql95-server
Here is the error i am getting:
Error unpacking rpm package postgresql95-server-9.5.9-1PGDG.rhel6.x86_64 error: unpacking of archive failed on file /var/lib/pgsql: cpio: stat
I have tried PostgreSQL 9.4, 9.5, 9.6 and they all have same error.
Also other packages from this repo are installing without any problem
Does anybody know what is the problem here?