On 09/26/2016 06:41 AM, Jibran Khan wrote:
I was trying to install PostGIS on CentOS7 (x64) based machine.
# sudo yum install postgis2_95 postgis2_95-client
But, got this error:
Error: Package: grass-libs-6.4.4-7.el7.x86_64 (@epel)
Requires: libgeos-3.4.2.so()(64bit)
Removing: geos-3.4.2-2.el7.x86_64 (@epel) libgeos-3.4.2.so()(64bit)
Updated By: geos-3.5.0-1.rhel7.x86_64 (pgdg95) ~libgeos-3.5.0.so()(64bit)
Available: geos-3.4.2-1.rhel7.x86_64 (pgdg94) libgeos-3.4.2.so()(64bit)
Available: geos-3.2.2-2.el6.x86_64 (elgis)
~libgeos-3.2.2.so()(64bit) Available: geos-3.3.0-1.el6.x86_64 (elgis)
~libgeos-3.3.0.so()(64bit) Available: geos-3.3.1-2.el6.x86_64 (elgis)
~libgeos-3.3.1.so()(64bit) Available: geos-3.3.6-1_0.el6.x86_64 (elgis)
~libgeos-3.3.6.so()(64bit) Available: geos-3.3.8-2.el6.x86_64 (elgis)
~libgeos-3.3.8.so()(64bit)
...
Not nice! Any help would be highly appreciated?
Looks like you are mixing several repositories (epel, elgis, pgdg94). Unless
there are specific commitments to maintaining compatibility among
repositories, this generally leads to problems like the ones you are seeing.
You can try using yum-priorities and playing with different priorities for the
different repos, but this is difficult and error prone as well.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301
http://www.nwra.com