Strange problem upgrading to 7.0.3x - Mailing list pgsql-general

From Rich Shepard
Subject Strange problem upgrading to 7.0.3x
Date
Msg-id Pine.LNX.4.30.0011141731420.18561-100000@salmo.appl-ecosys.com
Whole thread Raw
List pgsql-general
  Ever since I upgraded to 6.5.2 I've had problems upgrading to the 7.x
series. I'm running Red Hat 6.1 (2.2.17 kernel) on this box.

  Now I'm trying to upgrade to 7.0.3 via the rpm. When I tried both the
freshen (-F) and upgrade (-U) switches, I found a failed dependency:
/lib/gcc! and a bunch of complaints that 6.5.2 needed some files being
replaced. So, the attempt failed.

  I manually plucked all traces of the old 6.5.2 from the system and tried a
regular install:

[root@salmo rshepard]# rpm -ivh postgresql-7.0.3-1.i386.rpm
error: failed dependencies:
        /lib/cpp   is needed by postgresql-7.0.3-1
[root@salmo rshepard]# rpm -ivh --force postgresql-7.0.3-1.i386.rpm
error: failed dependencies:
        /lib/cpp   is needed by postgresql-7.0.3-1

  Very strange! I _have_ /lib/cpp (for I've used it to build many
applications):

[root@salmo rshepard]# ls -l /lib/cpp
lrwxrwxrwx   1 root     root           53 Nov 21  1999 /lib/cpp ->
../usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cpp*

  So, can someone please explain to me why the 7.0.3-1 package complains
that /lib/cpp isn't there when it is? FWIW, I got the same error when I
tried using the --force switch with rpm. Something's screwy here.

Thanks,

Rich

Dr. Richard B. Shepard, President

                       Applied Ecosystem Services, Inc. (TM)
              Making environmentally-responsible mining happen. (SM)
                       --------------------------------
            2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com


pgsql-general by date:

Previous
From: shawn everett
Date:
Subject: Re: Stupid SQL Question:
Next
From: Tom Lane
Date:
Subject: Re: Re: [ANNOUNCE] [RELEASE ANNOUNCEMENT] v7.0.3 *Final* now Available