Обсуждение: RE: [postgis-users] Dependencies for postgis25_12 not found (geos38, proj70)
Sounds like a packaging mistake. Both 3.8.1 and proj79 are stable so it is possible they just weren’t pushed to stable branch.
Probably best to report this to yum list - https://www.postgresql.org/list/pgsql-pkg-yum/
Which I have cc’d here.
From: postgis-users [mailto:postgis-users-bounces@lists.osgeo.org] On Behalf Of Steve Pritchard
Sent: Wednesday, May 6, 2020 9:04 AM
To: postgis-users@lists.osgeo.org
Subject: [postgis-users] Dependencies for postgis25_12 not found (geos38, proj70)
I tried to install Postgres 12.2 with PostGIS 2.5 on Centos 7.7 today, but yum was unable to find the necessary dependencies for postgis25_12:
Error: Package: postgis25_12-client-2.5.4-1.rhel7.x86_64 (pgdg12)
Requires: libproj.so.19()(64bit)
Error: Package: postgis25_12-2.5.4-1.rhel7.x86_64 (pgdg12)
Requires: libproj.so.19()(64bit)
Error: Package: postgis25_12-2.5.4-1.rhel7.x86_64 (pgdg12)
Requires: proj70 >= 7.0.0
Error: Package: postgis25_12-2.5.4-1.rhel7.x86_64 (pgdg12)
Requires: geos38 >= 3.8.1
Installed: geos38-3.8.0-1.rhel7.x86_64 (@pgdg10)
geos38 = 3.8.0-1.rhel7
The required packages geos38 (3.8.1) and proj70 (7.0.0) don't seem to be in either:
- PostgreSQL Yum Repository
- EPEL
Having hunted around, I finally found them in https://ftp.postgresql.org/pub/repos/yum/testing/common/redhat/rhel-7-x86_64/, however as I understand it, the packages in the "testing" repo should not be used in production (c.f. comment in .repo file).
Why do the postgis25_12 production packages have dependencies on packages that only seem to be available from a 'testing' repository?
Or should geos38 (3.8.1) and proj70 (7.0.0) be available from the production repositories?
Steve Pritchard
--
Steve Pritchard
Database Developer
British Trust for Ornithology, The Nunnery, Thetford, Norfolk IP24 2PU, UK
Tel: +44 (0)1842 750050, fax: +44 (0)1842 750030
Registered Charity No 216652 (England & Wales) No SC039193 (Scotland)
Company Limited by Guarantee No 357284 (England & Wales)
Hi, On Wed, 2020-05-06 at 09:40 -0400, Regina Obe wrote: > Sounds like a packaging mistake. Both 3.8.1 and proj79 are stable so it is > possible they just weren’t pushed to stable branch. I think it's an issue on user side. I bet they are not using the latest repo RPM: https://www.postgresql.org/about/news/2027/ Steve, can you please use the latest repo RPM first? Regards, -- Devrim Gündüz Open Source Solution Architect, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Вложения
Re: [postgis-users] Dependencies for postgis25_12 not found (geos38, proj70)
Could a News item be added in case others have similar problems?
Hi,
On Wed, 2020-05-06 at 09:40 -0400, Regina Obe wrote:
> Sounds like a packaging mistake. Both 3.8.1 and proj79 are stable so it is
> possible they just weren’t pushed to stable branch.
I think it's an issue on user side. I bet they are not using the latest repo
RPM:
https://www.postgresql.org/about/news/2027/
Steve, can you please use the latest repo RPM first?
Regards,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Tel: +44 (0)1842 750050, fax: +44 (0)1842 750030
Registered Charity No 216652 (England & Wales) No SC039193 (Scotland)
Company Limited by Guarantee No 357284 (England & Wales)
Hi Steve, On Thu, 2020-05-07 at 14:45 +0100, Steve Pritchard wrote: > Thanks Devrim. I've installed the .rpmnew file, and yum now > finds geos38 (3.8.1) and proj70 (7.0.1) successfully. Great! > > I can't see how I could reasonably have known about this. I had looked on > https://yum.postgresql.org/, but I couldn't find any relevant info. > The repository change doesn't seem to appear in the "News" on the left-hand > side. > > Could a News item be added in case others have similar problems? > It would be helpful if geos38 & proj70 could be mentioned specifically, so > that search engines will find the News item. Thanks for pointing it out. Updated website: https://yum.postgresql.org/ Regards, -- Devrim Gündüz Open Source Solution Architect, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR