Re: Upgrading on RH72 - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Upgrading on RH72
Date
Msg-id Pine.LNX.4.44.0208101422090.8305-100000@cm-lcon1-46-187.cm.vtr.net
Whole thread Raw
In response to Re: Upgrading on RH72  (Patrick Nelson <pnelson@neatech.com>)
List pgsql-general
Patrick Nelson dijo:

> 3.  Tried rpm -U postgresql-7.2.1-2PGDG.i386.rpm but it fails with:
>  error: failed dependencies:
>          postgresql = 7.1.3 is needed by postgresql-server-7.1.3-2
> Am I not doing this correctly?

Uh, sorry.  You should upgrade all RPMs at once.  If the packages are
split the same way (meaning, all packages have the same name) the
simplest way should be to do

rpm -F postgresql*
(this will update the currently installed packages).

If not, the easiest is to uninstall
rpm -e postgresql postgresql-server

and then install the new version
rpm -i postgresql-7.2.1-2PGDG.i386.rpm postgresql-server-7.2.1-blah

There are other games you can play with RPM dependencies, but I will
leave that for you to investigate.

--
Alvaro Herrera (<alvherre[a]atentus.com>)
"Crear es tan dificil como ser libre" (Elsa Triolet)


pgsql-general by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Upgrading on RH72
Next
From: Oliver Elphick
Date:
Subject: Re: [HACKERS] Linux Largefile Support In Postgresql RPMS