在 Rocky Linux 8 上安装 postgis33_15 失败

问题描述 投票:0回答:1

当我尝试在 Rocky Linux 8 上安装 postgis33_15 时,最终出现以下错误

package postgis33_15-3.3.1-1.rhel8.x86_64 from pgdg15 requires gdal35-libs >= 3.5.2, but none of the providers can be installed
 package postgis33_15-3.3.1-1.rhel8.x86_64 from pgdg15 requires libgdal.so.31()(64bit), but none of the providers can be installed
...
 conflicting requests
  - nothing provides libarmadillo.so.10()(64bit) needed by gdal35-libs-3.5.3-4.rhel8.x86_64 from pgdg-common

互联网建议启用 EPEL 和 crb,但它已经完成(CRB 显示在 powertools 名称下)

sudo dnf repolist
repo id        repo name
appstream      Rocky Linux 8 - AppStream
baseos         Rocky Linux 8 - BaseOS
epel           Extra Packages for Enterprise Linux 8 - x86_64
extras         Rocky Linux 8 - Extras
pgdg-common    PostgreSQL common RPMs for RHEL / Rocky / AlmaLinux 8 - x86_64
pgdg12         PostgreSQL 12 for RHEL / Rocky / AlmaLinux 8 - x86_64
pgdg13         PostgreSQL 13 for RHEL / Rocky / AlmaLinux 8 - x86_64
pgdg14         PostgreSQL 14 for RHEL / Rocky / AlmaLinux 8 - x86_64
pgdg15         PostgreSQL 15 for RHEL / Rocky / AlmaLinux 8 - x86_64
pgdg16         PostgreSQL 16 for RHEL / Rocky / AlmaLinux 8 - x86_64
powertools     Rocky Linux 8 - PowerTools

所以现在我想知道我错过了什么:)任何建议表示赞赏!

postgresql postgis postgis-installation
1个回答
0
投票

下载ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/epel/8.8.2023-11-14/Everything/x86_64/Packages/a/armadillo-10.8.2-1.el8.x86_64 .rpm

安装

rpm -ivh armadillo-10.8.2-1.el8.x86_64.rpm
rpm -Uvh --oldpackage armadillo-10.8.2-1.el8.x86_64.rpm

dnf install postgis33_15 --exclude=armadillo*

或者等待 PostgreSQL 存储库的更新

© www.soinside.com 2019 - 2024. All rights reserved.