Обсуждение: [BUGS] BUG #14536: Centos 7 gdal-libs Dependency Problem
The following bug has been logged on the website: Bug reference: 14536 Logged by: Cliff Inbau Email address: cinbau@warpmail.net PostgreSQL version: 9.6.1 Operating system: CentOS 7 Description: I have installed PostgreSQL 9.6.1 on a CentOS 7 server. The latest EPEL7 is also installed and enabled. When I try to install the postgis2_96 repo I get gdal-libs-1.11.4-10 dependency errors. I installed from the pgdg96 yum repositories. Note, that 9.2 is not installed on the server - see the reference to the pgdg92 in the error message. --> Processing Dependency: hdf5 for package: postgis2_96-2.3.2-1.rhel7.x86_64 --> Finished Dependency Resolution Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libgeotiff.so.1.2()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libcfitsio.so.2()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libarmadillo.so.4()(64bit) Error: Package: postgis2_96-2.3.2-1.rhel7.x86_64 (pgdg96) Requires: hdf5 Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libdapclient.so.6()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libgta.so.0()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libdap.so.17()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libCharLS.so.1()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libopenjp2.so.7()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libfreexl.so.1()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libhdf5.so.8()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libdapserver.so.7()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libogdi.so.3()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) Requires: libnetcdf.so.7()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs
Hi, Can you please send the output of rpm -qa|grep ^pgdg You can also try with yum-config-manager --disable pgdg92 and try installing PostGIS again. Regards, Devrim On Wed, 2017-02-08 at 19:56 +0000, cinbau@warpmail.net wrote: > The following bug has been logged on the website: > > Bug reference: 14536 > Logged by: Cliff Inbau > Email address: cinbau@warpmail.net > PostgreSQL version: 9.6.1 > Operating system: CentOS 7 > Description: > > I have installed PostgreSQL 9.6.1 on a CentOS 7 server. The latest EPEL7 is > also installed and enabled. When I try to install the postgis2_96 repo I > get gdal-libs-1.11.4-10 dependency errors. I installed from the pgdg96 yum > repositories. Note, that 9.2 is not installed on the server - see the > reference to the pgdg92 in the error message. > > --> Processing Dependency: hdf5 for package: > postgis2_96-2.3.2-1.rhel7.x86_64 > --> Finished Dependency Resolution > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libgeotiff.so.1.2()(64bit) > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libcfitsio.so.2()(64bit) > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libarmadillo.so.4()(64bit) > Error: Package: postgis2_96-2.3.2-1.rhel7.x86_64 (pgdg96) > Requires: hdf5 > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libdapclient.so.6()(64bit) > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libgta.so.0()(64bit) > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libdap.so.17()(64bit) > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libCharLS.so.1()(64bit) > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libopenjp2.so.7()(64bit) > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libfreexl.so.1()(64bit) > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libhdf5.so.8()(64bit) > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libdapserver.so.7()(64bit) > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libogdi.so.3()(64bit) > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > Requires: libnetcdf.so.7()(64bit) > You could try using --skip-broken to work around the problem > You could try running: rpm -Va --nofiles --nodigest > > > -- Devrim Gündüz EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
I disabled and removed the pgdg92 repo from the machine. Here are the result of the rpm query: rpm -qa|grep ^pgdg pgdg-centos96-9.6-3.noarch rpm -qa|grep ^epel epel-release-7-9.noarch When I install PostGIS, Am getting a similar error: sudo yum install postgis2_96 ...... --> Finished Dependency Resolution Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) Requires: libfreexl.so.1()(64bit) Error: Package: postgis2_96-2.3.2-1.rhel7.x86_64 (pgdg96) Requires: hdf5 Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) Requires: libopenjp2.so.7()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) Requires: libnetcdf.so.7()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) Requires: libcfitsio.so.2()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) Requires: libarmadillo.so.4()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) Requires: libCharLS.so.1()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) Requires: libdap.so.17()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) Requires: libhdf5.so.8()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) Requires: libdapserver.so.7()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) Requires: libogdi.so.3()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) Requires: libgta.so.0()(64bit) Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) Requires: libdapclient.so.6()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest On Thu, Feb 9, 2017, at 01:39 AM, Devrim Gündüz wrote: > > Hi, > > Can you please send the output of > > rpm -qa|grep ^pgdg > > You can also try with > > yum-config-manager --disable pgdg92 > and try installing PostGIS again. > > Regards, Devrim > > On Wed, 2017-02-08 at 19:56 +0000, cinbau@warpmail.net wrote: > > The following bug has been logged on the website: > > > > Bug reference: 14536 > > Logged by: Cliff Inbau > > Email address: cinbau@warpmail.net > > PostgreSQL version: 9.6.1 > > Operating system: CentOS 7 > > Description: > > > > I have installed PostgreSQL 9.6.1 on a CentOS 7 server. The latest EPEL7 is > > also installed and enabled. When I try to install the postgis2_96 repo I > > get gdal-libs-1.11.4-10 dependency errors. I installed from the pgdg96 yum > > repositories. Note, that 9.2 is not installed on the server - see the > > reference to the pgdg92 in the error message. > > > > --> Processing Dependency: hdf5 for package: > > postgis2_96-2.3.2-1.rhel7.x86_64 > > --> Finished Dependency Resolution > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libgeotiff.so.1.2()(64bit) > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libcfitsio.so.2()(64bit) > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libarmadillo.so.4()(64bit) > > Error: Package: postgis2_96-2.3.2-1.rhel7.x86_64 (pgdg96) > > Requires: hdf5 > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libdapclient.so.6()(64bit) > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libgta.so.0()(64bit) > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libdap.so.17()(64bit) > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libCharLS.so.1()(64bit) > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libopenjp2.so.7()(64bit) > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libfreexl.so.1()(64bit) > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libhdf5.so.8()(64bit) > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libdapserver.so.7()(64bit) > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libogdi.so.3()(64bit) > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg92) > > Requires: libnetcdf.so.7()(64bit) > > You could try using --skip-broken to work around the problem > > You could try running: rpm -Va --nofiles --nodigest > > > > > > > > -- > Devrim Gündüz > EnterpriseDB: http://www.enterprisedb.com > PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer > Twitter: @DevrimGunduz , @DevrimGunduzTR > Email had 1 attachment: > + signature.asc > 1k (application/pgp-signature) -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs
Hi, On Thu, 2017-02-09 at 17:18 -0700, Cliff Inbau wrote: > When I install PostGIS, Am getting a similar error: > > sudo yum install postgis2_96 > ...... > --> Finished Dependency Resolution > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) > Requires: libfreexl.so.1()(64bit) Can you please make sure that EPEL repo is actually enabled? It seems it is not. Regards, -- Devrim Gündüz EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Fixed the problem and PostGIS 96 installed. While the main epel repo was enabled, there was a second entry of epel in another rep that was disabled - the conflict prevented PostGIS from installing. Thanks for you help. -- Cliff Inbau cinbau@warpmail.net On Thu, Feb 9, 2017, at 09:24 PM, Devrim Gündüz wrote: > > Hi, > > On Thu, 2017-02-09 at 17:18 -0700, Cliff Inbau wrote: > > When I install PostGIS, Am getting a similar error: > > > > sudo yum install postgis2_96 > > ...... > > --> Finished Dependency Resolution > > Error: Package: gdal-libs-1.11.4-10.rhel7.x86_64 (pgdg96) > > Requires: libfreexl.so.1()(64bit) > > Can you please make sure that EPEL repo is actually enabled? It seems it > is > not. > > Regards, > -- > Devrim Gündüz > EnterpriseDB: http://www.enterprisedb.com > PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer > Twitter: @DevrimGunduz , @DevrimGunduzTR > Email had 1 attachment: > + signature.asc > 1k (application/pgp-signature) -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs
Hi, On Fri, 2017-02-10 at 09:12 -0700, Cliff Inbau wrote: > Fixed the problem and PostGIS 96 installed. While the main epel repo > was enabled, there was a second entry of epel in another rep that was > disabled - the conflict prevented PostGIS from installing. Thanks for > you help. Great! Regards, -- Devrim Gündüz EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR