Re: Upgrade - Mailing list pgsql-general

From Doug McNaught
Subject Re: Upgrade
Date
Msg-id m31yjvjpz6.fsf@belphigor.mcnaught.org
Whole thread Raw
In response to Re: Upgrade  ("Mihai Gheorghiu" <tanethq@earthlink.net>)
List pgsql-general
"Mihai Gheorghiu" <tanethq@earthlink.net> writes:

> [root@localhost pg]# rpm -U --force postgresql*
> error: failed dependencies:
>         postgresql = 7.0.3 is needed by postgresql-python-7.0.3-8
>
> Same without --force.
>
> What would you suggest :-) Thanks in advance.

Best thing to do is explicitly remove the existing RPMS:

# rpm -q -a | grep '^postgresql' | xargs rpm -e

Then do 'rpm -U' (without --force, you shouldn't need it).

What is happening is that '-U' isn't removing 'postgresql-python'
(since you're not upgrading it) but it depends on the main postgresql
RPM which is being upgraded.

You could also just remove the 'postgresql-python' package and then do
'-U'.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863

pgsql-general by date:

Previous
From: "Dave Cramer"
Date:
Subject: Re: Sequence problems during restart
Next
From: elwood@agouros.de (Konstantinos Agouros)
Date:
Subject: Re: How to insert with a serial