On 28 Oct 2002 at 9:46, Kassel Ben CRBE wrote:
> Suffice to say I havent a clue on what I am doing.
>
> I am trying to upgrade to 7.2.3 using downloaded RPM's. The installation for 7.2.1 went quite well, but I cannot
upgrade.Here is what happens:
>
> [root@DOC root]# rpm -U postgresql-libs-7.2.3-1PGDG.i386.rpm
> error: failed dependencies:
> postgresql-libs = 7.2.1 is needed by postgresql-7.2.1-4
> postgresql-libs = 7.2.1 is needed by postgresql-server-7.2.1-4
> postgresql-libs = 7.2.1 is needed by postgresql-devel-7.2.1-4
Put all the new RPMs in one dir, go there and say
rpm -Fvh *.rpm
man rpm will tell you what it does.
> Okay, so lets just try to remove the existing application:
>
> [root@DOC root]# rpm -e postgresql-7.2.1-4.i386.rpm
You can't remove postgresql-7.2.1-4.i386.rpm because it's not
installed. However postgresql-7.2.1-4 probably is. So this should work
rpm -e postgresql-7.2.1-4
If you want to know what's installed, do something like
rpm -qa | grep postgres
This will give you: postgresql-7.2.1-4 (and other stuff). The names
that you find here are valid package names.
HTH.