broken postgis23_95 dependencies on CentOS/RHEL 6

From: James Cassell <fedoraproject(at)cyberpear(dot)com>
To: PostgreSQL Yum Package List <pgsql-pkg-yum(at)lists(dot)postgresql(dot)org>
Cc: Devrim Gündüz <devrim(at)gunduz(dot)org>
Subject: broken postgis23_95 dependencies on CentOS/RHEL 6
Date: 2018-02-14 00:50:22
Message-ID: 1518569422.2509698.1270023472.6C898294@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hello,

Thanks for creating a yum repo for these packages. I find it quite useful at work!

Unfortunately, I'm now getting the following error when trying to 'yum install postgis23_95' on a RHEL 6 box:

Error: Package: postgis23_95-2.3.6-2.rhel6.x86_64 (pgdg95)
Requires: geos36 >= 3.6.2
Error: Package: postgis23_95-2.3.6-2.rhel6.x86_64 (pgdg95)
Requires: libproj.so.12()(64bit)
Error: Package: postgis23_95-2.3.6-2.rhel6.x86_64 (pgdg95)
Requires: proj49

If I install the older version, it works fine. ('yum install postgis23_95-2.3.4') (The changelog says the functional version is 2.3.5, but the RPM says 2.3.4.)

The pgdg95/rhel-6-x86_64 yum repo doesn't have the necessary dependencies for postgis23_95; specifically, the geos36 package is missing and also the proj49 package. The repo does have geos-3.5 and proj-4.8, but the package name doesn't match (also the version).

I see this in the changelog:
postgis23_95-2.3.6-2.rhel6.x86_64 pgdg95
* Sun Jan 28 12:00:00 2018 Devrim Gündüz <> - 2.3.6-2
- Let PostGIS 2.3 depend on PGDG supplied Proj49 and GeOS 36 RPMs.
This will help users to benefit from latest GeOS and Proj.

The rhel-7-x86_64 version of the repo does have the proj49 and geos36 rpms,
but the rhel-6-x86_64 versions of the repo lacks those RPMs, hence the
issue, and hence why it took a few days to catch this. (Likely many other people are using CentOS/RHEL 7.)

If there's any other info that would be helpful, please let me know!

Thanks!

V/r,
James Cassell

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message James Cassell 2018-02-15 15:36:52 Re: broken postgis23_95 dependencies on CentOS/RHEL 6
Previous Message James Hubbard 2018-02-13 17:14:54 RHEL 6 geos36 missing