broken postgis23_95 dependencies on CentOS/RHEL 6 - Mailing list pgsql-pkg-yum

From James Cassell
Subject broken postgis23_95 dependencies on CentOS/RHEL 6
Date
Msg-id 1518569422.2509698.1270023472.6C898294@webmail.messagingengine.com
Whole thread Raw
Responses Re: broken postgis23_95 dependencies on CentOS/RHEL 6
List 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
versionis 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
packageis 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


pgsql-pkg-yum by date:

Previous
From: James Hubbard
Date:
Subject: RHEL 6 geos36 missing
Next
From: James Cassell
Date:
Subject: Re: broken postgis23_95 dependencies on CentOS/RHEL 6