Re: libpq5 error

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, Paul Brindusa <paulbrindusa88(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: libpq5 error
Date: 2024-10-08 07:48:47
Message-ID: 0a805069f207406b6c68a023bda5a9bbcda1db16.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On Mon, 2024-10-07 at 08:44 -0700, Adrian Klaver wrote:
> > Unknown Error occurred: Transaction test error:\n file
> > /usr/share/pgsql/postgres.bki from install of
> > libpq5-17.0-42PGDG.rhel9.x86_64 conflicts with file from package
> > postgresql-server-15.8-1.module+el9.4.0+25512+c6b50a48.x86_64\n file
> > /usr/share/pgsql/system_constraints.sql from install of
> > libpq5-17.0-42PGDG.rhel9.x86_64 conflicts with file from package
> > postgresql-server-15.8-1.module+el9.4.0+25512+c6b50a48.x86_64\n.

Ah ok. So basically it means PostgreSQL is installed from Red Hat
packages, not PGDG. I would suggest you either not to use PGDG repos at
all for consistency, or switch to PGDG repo and use our packages as a
whole.

...or you can edit /etc/yum.repos.d/pgdg-redhat-all.repo file, and add

exclude=libpq5

under the [pgdg-common] section so that dnf will ignore that.

Regards,

--
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul Brindusa 2024-10-08 08:01:39 Re: libpq5 error
Previous Message Paul Brindusa 2024-10-08 07:47:17 Re: libpq5 error