public inbox for [email protected]  
help / color / mirror / Atom feed
Re: libpq5 error
3+ messages / 3 participants
[nested] [flat]

* Re: libpq5 error
@ 2024-10-08 07:48 Devrim Gündüz <[email protected]>
  2024-10-08 08:01 ` Re: libpq5 error Paul Brindusa <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Devrim Gündüz @ 2024-10-08 07:48 UTC (permalink / raw)
  To: Adrian Klaver <[email protected]>; Paul Brindusa <[email protected]>; +Cc: 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


Attachments:

  [application/pgp-signature] signature.asc (858B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: libpq5 error
  2024-10-08 07:48 Re: libpq5 error Devrim Gündüz <[email protected]>
@ 2024-10-08 08:01 ` Paul Brindusa <[email protected]>
  2024-10-08 15:06   ` Re: libpq5 error Adrian Klaver <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Paul Brindusa @ 2024-10-08 08:01 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; +Cc: Adrian Klaver <[email protected]>; pgsql-general

 Good morning Devrim,

Is libpq5 an important component that needs the upgrade?
I am wanting to try after Adrian's suggestion yesterday to see if I can
update the repo file first of all since it came with the rest of the
updates.

If that does not solve it, I would consider disabling the package.

On Tue, Oct 8, 2024 at 8:48 AM Devrim Gündüz <[email protected]> wrote:

> 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
>


-- 
Kind Regards,
Paul Brindusa
[email protected]


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: libpq5 error
  2024-10-08 07:48 Re: libpq5 error Devrim Gündüz <[email protected]>
  2024-10-08 08:01 ` Re: libpq5 error Paul Brindusa <[email protected]>
@ 2024-10-08 15:06   ` Adrian Klaver <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Adrian Klaver @ 2024-10-08 15:06 UTC (permalink / raw)
  To: Paul Brindusa <[email protected]>; Devrim Gündüz <[email protected]>; +Cc: pgsql-general

On 10/8/24 01:01, Paul Brindusa wrote:
>   Good morning Devrim,
> 
> Is libpq5 an important component that needs the upgrade?

 From here:

https://www.postgresql.org/docs/current/libpq.html

"libpq is the C application programmer's interface to PostgreSQL. libpq 
is a set of library functions that allow client programs to pass queries 
to the PostgreSQL backend server and to receive the results of these 
queries.

libpq is also the underlying engine for several other PostgreSQL 
application interfaces, including those written for C++, Perl, Python, 
Tcl and ECPG. So some aspects of libpq's behavior will be important to 
you if you use one of those packages. In particular, Section 32.15, 
Section 32.16 and Section 32.19 describe behavior that is visible to the 
user of any application that uses libpq."

To me that is, yes it is important.

> I am wanting to try after Adrian's suggestion yesterday to see if I can 
> update the repo file first of all since it came with the rest of the 
> updates.
> 
> If that does not solve it, I would consider disabling the package.
> 
> On Tue, Oct 8, 2024 at 8:48 AM Devrim Gündüz <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     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
> 
> 
> 
> -- 
> Kind Regards,
> Paul Brindusa
> [email protected] <mailto:[email protected]>

-- 
Adrian Klaver
[email protected]







^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2024-10-08 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-10-08 07:48 Re: libpq5 error Devrim Gündüz <[email protected]>
2024-10-08 08:01 ` Paul Brindusa <[email protected]>
2024-10-08 15:06   ` Adrian Klaver <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox