Обсуждение: problems installing pgsql

Поиск
Список
Период
Сортировка

problems installing pgsql

От
Ricardo Gamero
Дата:
Hello everybody!
 
I'm so sorry to post this simple question but I don't know what to do, the thing is I need to install postgresql 8.0.3 in red hat 9 but when I try to do it this errors appear:
 
[root@bib root]# rpm -ivh postgresql-server-8.0.3-1PGDG.i686.rpm
warning: postgresql-server-8.0.3-1PGDG.i686.rpm: V3 DSA signature: NOKEY, key ID 748f7d0e
error: Failed dependencies:
        libcrypto.so.4 is needed by postgresql-server-8.0.3-1PGDG
        libpq.so.4 is needed by postgresql-server-8.0.3-1PGDG
        libssl.so.4 is needed by postgresql-server-8.0.3-1PGDG
        postgresql = 8.0.3 is needed by postgresql-server-8.0.3-1PGDG
        postgresql < 7.4 conflicts with postgresql-server-8.0.3-1PGDG
 
I've tried installing this packages:
postgresql72-libs-1-3.i386.rpm
postgresql-libs-7.1.3-5.72.i386.rpm
but I recieve similar errors, I mean dependency. for example:
 
[root@bib root]# rpm -ivh postgresql-libs-7.1.3-5.72.i386.rpm
Preparing...                ########################################### [100%]
        package postgresql-libs-7.2.3-5.80 (which is newer than postgresql-libs-7.1.3-5.72) is already installed
        file /usr/lib/libecpg.so.3 from install of postgresql-libs-7.1.3-5.72 conflicts with file from package postgresql-libs-7.2.3-5.80
        file /usr/lib/libpgeasy.so.2 from install of postgresql-libs-7.1.3-5.72 conflicts with file from package postgresql-libs-7.2.3-5.80
        file /usr/lib/libpq.so.2 from install of postgresql-libs-7.1.3-5.72 conflicts with file from package postgresql-libs-7.2.3-5.80
        file /usr/lib/libpq.so.2.0 from install of postgresql-libs-7.1.3-5.72 conflicts with file from package postgresql-libs-7.2.3-5.80
 
 
and I also have tried to download the openssl package, 'cause i read somewhere that's what i need, but i can't find the rpm package.
 
 
I'd really apreciate your help and thank you so much for your help!!
 

Re: problems installing pgsql on rh9 box

От
Jeff MacDonald
Дата:
On Tue, 2005-08-30 at 12:06 -0600, Ricardo Gamero wrote:
> Hello everybody!
>
> I'm so sorry to post this simple question but I don't know what to do,
> the thing is I need to install postgresql 8.0.3 in red hat 9 but when
> I try to do it this errors appear:
>
> [root@bib root]# rpm -ivh postgresql-server-8.0.3-1PGDG.i686.rpm
> warning: postgresql-server-8.0.3-1PGDG.i686.rpm: V3 DSA signature:
> NOKEY, key ID 748f7d0e
> error: Failed dependencies:
>         libcrypto.so.4 is needed by postgresql-server-8.0.3-1PGDG
>         libpq.so.4 is needed by postgresql-server-8.0.3-1PGDG
>         libssl.so.4 is needed by postgresql-server-8.0.3-1PGDG
>         postgresql = 8.0.3 is needed by postgresql-server-8.0.3-1PGDG
>         postgresql < 7.4 conflicts with postgresql-server-8.0.3-1PGDG
>

greetings,

I tried this on the (only) rh9 box I have, and I had similar dependency
issues. note that I used '-Uvh' instead of '-ivh' but I got the
following:

[~] [6:05pm] [aristotle] % ls postgresql-*.rpm
postgresql-8.0.3-1PGDG.i686.rpm
postgresql-libs-8.0.3-1PGDG.i686.rpm
postgresql-server-8.0.3-1PGDG.i686.rpm
postgresql-devel-8.0.3-1PGDG.i686.rpm
postgresql-pl-8.0.3-1PGDG.i686.rpm

[~] [6:05pm] [aristotle] % sudo rpm -Uvh postgresql-*.rpm
Password:
warning: postgresql-8.0.3-1PGDG.i686.rpm: V3 DSA signature: NOKEY, key
ID 748f7d0e
error: Failed dependencies:       libecpg.so.4 is needed by postgresql-libs-8.0.3-1PGDG       libpgtypes.so.1 is needed
bypostgresql-libs-8.0.3-1PGDG       libpq.so.3 is needed by postgresql-libs-8.0.3-1PGDG 

in the original version that I have installed on my rh9 box, libpq.so.3
is provided by postgresql-libs, but as you can see from the above I
tried installing that and I still get the dependency problems.

regards,
J


Re: problems installing pgsql

От
Devrim GUNDUZ
Дата:
This message is in MIME format.  The first part should be readable text, while the remaining parts are likely
unreadablewithout MIME-aware tools.
 

--8323328-1834607090-1125497559=:26632
Content-Type: TEXT/PLAIN; CHARSET=iso-8859-9; format=flowed
Content-Transfer-Encoding: 8BIT
Content-ID: <Pine.LNX.4.63.0508311751451.26632@emo.org.tr>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Tue, 30 Aug 2005, Ricardo Gamero wrote:

> Hello everybody!
> I'm so sorry to post this simple question but I don't know what to do, the
> thing is I need to install postgresql 8.0.3 in red hat 9 but when I try to
> do it this errors appear:
> [root@bib root]# rpm -ivh postgresql-server-8.0.3-1PGDG.i686.rpm
> warning: postgresql-server-8.0.3-1PGDG.i686.rpm: V3 DSA signature: NOKEY,
> key ID 748f7d0e
> error: Failed dependencies:
> libcrypto.so.4 is needed by postgresql-server-8.0.3-1PGDG
> libpq.so.4 is needed by postgresql-server-8.0.3-1PGDG
> libssl.so.4 is needed by postgresql-server-8.0.3-1PGDG

First of all, please install this RPM to solve these 3 dependencies:

http://developer.postgresql.org/~devrim/rpms/compat/compat-postgresql-libs-3-3PGDG.i686.rpm

> postgresql = 8.0.3 is needed by postgresql-server-8.0.3-1PGDG

Yes, before installing -server rpm, you have to install main package.


> postgresql < 7.4 conflicts with postgresql-server-8.0.3-1PGDG

Please follow the usual dump/reload process before upgrading PostgreSQL. 
Both 7.4 and 8.0 cannot stand on the same server.

Regards,
- --
Devrim GUNDUZ
Kivi Bilişim Teknolojileri - http://www.kivi.com.tr
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr                     http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFDFcSStl86P3SPfQ4RAj7hAJ4twmxTnd7ikcoeYP4VYtX0UV1vbgCfaV60
Odd04eVW2rhPc9rBBNyxorI=
=rJa9
-----END PGP SIGNATURE-----
--8323328-1834607090-1125497559=:26632--