Hi,
On Mon, 2026-02-16 at 14:54 +0000, Peter Svensson wrote:
> I have problem with dependency for gdal312-python-tools on RHEL10
>
> We have redhat, epel and PGDG repositories
>
> First I install gdal312-python3 and it also install gdal312-
> libs from PGDG repo due to dependency.
>
>
> $ rpm -qa|grep gdal
> gdal312-libs-3.12.2-1PGDG.rhel10.1.x86_64
> gdal312-python3-3.12.2-1PGDG.rhel10.1.x86_64
>
>
> Then i try to install gdal312-python-tools from PGDG repo,
> but it will install gdal-libs from rhel repo, and python3-gdal from
> epel repo.
>
> Installing:
> gdal312-python-tools x86_64 3.12.2-
> 1PGDG.rhel10.1 PGDG repo
> Installing dependencies:
> gdal-libs x86_64 3.10.3-
> 3.el10 rhel-appstream repo
> libpq x86_64 16.11-
> 3.el10_1 rhel-baseos repo
> python3-gdal x86_64 3.10.3-
> 7.el10_2 epel repo
>
> Error: Transaction test error:
> file /usr/lib64/python3.12/site-packages/osgeo/__init__.py from
> install of python3-gdal-3.10.3-7.el10_2.x86_64 conflicts with file
> from package gdal312-python3-3.12.2-1PGDG.rhel10.1.x86_64
> ...
>
>
> Why does gdal312-python-tools requires gdal-libs and python3-
> gdal instead of gdal312-libs and gdal312-python3 ?
My bad, sorry. Fixed in 3.12.2-2 packages. Pushed them to the repos.
Regards,
--
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
BlueSky: @devrim.gunduz.org , @gunduz.org