Re: Upgrading on RH72

From: Alvaro Herrera <alvherre(at)atentus(dot)com>
To: Patrick Nelson <pnelson(at)neatech(dot)com>
Cc: "PostgreSQL List (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Upgrading on RH72
Date: 2002-08-10 18:30:00
Message-ID: Pine.LNX.4.44.0208101422090.8305-100000@cm-lcon1-46-187.cm.vtr.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2002-08-10 21:20:37 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Previous Message Lamar Owen 2002-08-10 18:18:03 Re: Upgrading on RH72