Pregunta

When I try to install the RPM I get the following error:

# rpm -ihv ./postgresql91-server-9.1.11-1PGDG.rhel6.x86_64.rpm 
warning: ./postgresql91-server-9.1.11-1PGDG.rhel6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 442df0f8: NOKEY
error: Failed dependencies:
postgresql91 = 9.1.11-1PGDG.rhel6 is needed by postgresql91-server-9.1.11-1PGDG.rhel6.x86_64
¿Fue útil?

Solución 2

I got the solution ..

Downladed the Linux package(postgresql-9.1.11-1-linux-x64.run) from the link below and execute as root,

./postgresql-9.1.11-1-linux-x64.run

All the dependencies are included with this package.

http://www.enterprisedb.com/products-services-training/pgdownload

Otros consejos

The database server rpm which you are trying to install has a number of dependencies. While you could install then all manually, by downloading them one at a time and installing them, that's definitely not the easiest way.

I recommended you install it via yum. Full instructions are given on the postgresql wiki. Yum will handle the task of downloading all the needed rpms and installing them.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top