Conflict with different postgis packages

From: "Lorenz, Christopher" <Christopher(dot)Lorenz(at)ZIT-BB(dot)Brandenburg(dot)de>
To: "'pgsql-pkg-yum(at)postgresql(dot)org'" <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Conflict with different postgis packages
Date: 2024-11-07 06:27:37
Message-ID: f619c097a9134ce4819ea564e1e8f41a@ZIT-BB.Brandenburg.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hello,

we've tried to install postgis for PostgreSQL 16 and 17 on same server. It is a server for testing different versions and doing pg_upgrade between. We got an error when we try to install postgis35_17 if postgis34_16 already installed:

Error: Transaction test error:
file /usr/share/man/man1/postgis_restore.1.gz from install of postgis35_17-3.5.0-1PGDG.rhel8.x86_64 conflicts with file from package postgis34_16-3.4.3-2PGDG.rhel8.x86_64

The installation of same PostGIS version (postgis34_17 and postgis34_16) on same server is possible without any conflicts. Only if we try to install PostGIS 3.5 for PostgreSQL 17 anstead of PostGIS 3.4 we got this error. Is this expected in this case or is it a faulty package configuration?

Last years we never had problems with differet PostGIS versions. There are installed diffrent postgis version for different postgresql versions on this server:

$ rpm -qa | grep postgis | sort
postgis31_12-3.1.11-3PGDG.rhel8.x86_64
postgis31_13-3.1.11-3PGDG.rhel8.x86_64
postgis31_14-3.1.11-3PGDG.rhel8.x86_64
postgis33_15-3.3.7-2PGDG.rhel8.x86_64
postgis34_16-3.4.3-2PGDG.rhel8.x86_64
postgis34_17-3.4.3-2PGDG.rhel8.x86_64

Regards,

Christopher Lorenz

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Svensson Peter 2024-11-13 08:41:12 Version documentation for packages in Common YUM repository
Previous Message Devrim Gündüz 2024-10-11 15:09:55 Re: Missing repodata from pub/repos/yum/13/redhat/rhel-8-aarch64/