Estou tentando instalar o postgis2_94 no CentOS 7.5 com o seguinte comando (tendo já instalado o postgresql94):
yum install postgresql94-server postgresql94-devel postgis2_94 postgis2_94-docs postgis2_94-utils pgrouting
Mas recebo o seguinte erro:
Transaction check error: file /usr/pgsql-9.4/bin/shp2pgsql-gui conflicts between attempted installs of postgis24_94-2.4.4-2.rhel7.x86_64 and postgis22_94-2.2.7-1.rhel7.x86_64 file /usr/pgsql-9.4/lib/liblwgeom.so conflicts between attempted installs of postgis24_94-2.4.4-2.rhel7.x86_64 and postgis22_94-2.2.7-1.rhel7.x86_64 file /usr/pgsql-9.4/share/extension/address_standardizer.control conflicts between attempted installs of postgis24_94-2.4.4-2.rhel7.x86_64 and postgis22_94-2.2.7-1.rhel7.x86_64 file /usr/pgsql-9.4/share/extension/address_standardizer.sql conflicts between attempted installs of postgis24_94-2.4.4-2.rhel7.x86_64 and postgis22_94-2.2.7-1.rhel7.x86_64 file /usr/pgsql-9.4/share/extension/address_standardizer_data_us.control conflicts between attempted installs of postgis24_94-2.4.4-2.rhel7.x86_64 and postgis22_94-2.2.7-1.rhel7.x86_64 file /usr/pgsql-9.4/share/extension/address_standardizer_data_us.sql conflicts between attempted installs of postgis24_94-2.4.4-2.rhel7.x86_64 and postgis22_94-2.2.7-1.rhel7.x86_64 file /usr/pgsql-9.4/share/extension/postgis.control conflicts between attempted installs of postgis24_94-2.4.4-2.rhel7.x86_64 and postgis22_94-2.2.7-1.rhel7.x86_64 file /usr/pgsql-9.4/share/extension/postgis_sfcgal.control conflicts between attempted installs of postgis24_94-2.4.4-2.rhel7.x86_64 and postgis22_94-2.2.7-1.rhel7.x86_64 file /usr/pgsql-9.4/share/extension/postgis_tiger_geocoder.control conflicts between attempted installs of postgis24_94-2.4.4-2.rhel7.x86_64 and postgis22_94-2.2.7-1.rhel7.x86_64 file /usr/pgsql-9.4/share/extension/postgis_tiger_geocoder.sql conflicts between attempted installs of postgis24_94-2.4.4-2.rhel7.x86_64 and postgis22_94-2.2.7-1.rhel7.x86_64 file /usr/pgsql-9.4/share/extension/postgis_topology.control conflicts between attempted installs of postgis24_94-2.4.4-2.rhel7.x86_64 and postgis22_94-2.2.7-1.rhel7.x86_64
Error Summary-------------
Como posso resolver isso?
Tags postgresql yum