Error: Problem: package postgis33_12-3.3.2-1.rhel8.x86_64 requires gdal35-libs >= 3.5.2, but none of the providers can be installed

Hello,
Im trying to install
dnf install postgis33_12.x86_64
but getting error

Error:
 Problem: package postgis33_12-3.3.2-1.rhel8.x86_64 requires gdal35-libs >= 3.5.2, but none of the providers can be                                                                                                                        installed
  - package postgis33_12-3.3.2-1.rhel8.x86_64 requires libgdal.so.31()(64bit), but none of the providers can be ins                                                                                                                       talled
  - cannot install the best candidate for the job
  - nothing provides libqhull_r.so.7()(64bit) needed by gdal35-libs-3.5.2-3.rhel8.x86_64
  - nothing provides libqhull_r.so.7()(64bit) needed by gdal35-libs-3.5.3-1.rhel8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

version
NAME=“Rocky Linux”
VERSION=“8.7 (Green Obsidian)”
ID=“rocky”
ID_LIKE=“rhel centos fedora”
VERSION_ID=“8.7”
PLATFORM_ID=“platform:el8”
PRETTY_NAME=“Rocky Linux 8.7 (Green Obsidian)”
ANSI_COLOR=“0;32”
LOGO=“fedora-logo-icon”
CPE_NAME=“cpe:/o:rocky:rocky:8:GA”
HOME_URL=“https://rockylinux.org/
BUG_REPORT_URL=“https://bugs.rockylinux.org/
ROCKY_SUPPORT_PRODUCT=“Rocky-Linux-8”
ROCKY_SUPPORT_PRODUCT_VERSION=“8.7”
REDHAT_SUPPORT_PRODUCT=“Rocky Linux”
REDHAT_SUPPORT_PRODUCT_VERSION=“8.7”

Check if you do get positive answer with:

dnf --enablerepo=powertools provides 'libqhull_r.so.7()(64bit)'

The ‘powertools’ repo (that Rocky has) corresponds to RHEL 8’s CodeReadyBuilder repo and is disabled by default.
In principle the packages in powertools are used only by software developers, but in practice some (third-party) packages do have runtime dependencies too.

RHEL 8 has three main repos:

  • baseos – content has 10 year support
  • appstream – individual streams have varying support (some only a year or two)
  • CodeReadyBuilder – no support at all

You probably want to set the powertools repo enabled, if you install packages that depend on packages in powertools:

dnf config-manager --set-enabled powertools
1 Like

@jlehtone thanks a lot, this solved my problem