無法在 Centos 7.5 上安裝 postgis2_94

無法在 Centos 7.5 上安裝 postgis2_94

我正在嘗試使用以下命令在 CentOS 7.5 上安裝 postgis2_94 (已經安裝了 postgresql94 ):

yum install postgresql94-server postgresql94-devel postgis2_94 postgis2_94-docs postgis2_94-utils pgrouting

但是,我收到以下錯誤:

交易檢查錯誤:檔案/usr/pgsql-9.4/bin/shp2pgsql-gui 嘗試安裝postgis24_94-2.4.4-2.rhel7.x86_64 和postgis22_94-2.2.7-1.rhel7.x86_64 檔案/usr/pgsql衝突-9.4/lib/liblwgeom.so 嘗試安裝postgis24_94-2.4.4-2.rhel7.x86_64 和postgis22_94-2.2.7-1.rhel7.x86_64 檔案/usr/pgsql-9.4/share/extension extandstandst-9.4/share/extstension 0andst衝突。之間的衝突-2.4.4-2.rhel7.x86_64 和postgis22_94-2.2.7-1.rhel7.x86_64 檔案/usr/pgsql-9.4/share/extension/address_standardizer_data_us.congsqll 嘗試安裝postgis24-224.之間有衝突。 -2.2 之間有衝突.7-1.rhel7.x86_64 檔案/usr/pgsql-9.4/share/extension/postgis.control 嘗試安裝postgis24_94-2.4.4-2.rhel7.x86_64 和postgis22_94-2. .rhel7 之間有衝突。 usr/pgsql- 之間有衝突9.4/share/extension/postgis_tiger_geocoder.control 嘗試安裝postgis24_94-2.4.4-2.rhel7.x86_64 和postgis22_94-2.2.7-1.94x222/p5/p. share/extension/postgis_tiger_geocoder 之間有衝突嘗試安裝postgis24_94-2.4.4-2.rhel7.x86_64 和postgis22_94-2.2.7-1.rhel7.x86_64 之間的.sql 衝突檔案/us extension/postgis_topology.control 嘗試安裝之間的衝突postgis24_94-2.4.4-2.rhel7.x86_64 和 postgis22_94-2.2.7-1.rhel7.x86_64
錯誤摘要
-------------

我該如何解決這個問題?

相關內容