public inbox for [email protected]
help / color / mirror / Atom feedPostgreSQL Package conflicts on Fedora 40
2+ messages / 2 participants
[nested] [flat]
* PostgreSQL Package conflicts on Fedora 40
@ 2024-10-14 16:52 Sbob <[email protected]>
2024-10-14 17:13 ` Re: PostgreSQL Package conflicts on Fedora 40 Laurenz Albe <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Sbob @ 2024-10-14 16:52 UTC (permalink / raw)
To: [email protected] <[email protected]>
Hi all;
I recently did a clean install of Fedora 40 on a new laptop. Then I
installed PostgreSQL like this:
In the download form at:
https://www.postgresql.org/download/linux/redhat/
I selected PostgreSQL 16 and the Platform as Fedora 40
As root I ran this:
dnf install -y
https://download.postgresql.org/pub/repos/yum/reporpms/F-40-x86_64/pgdg-fedora-repo-latest.noarch.rp...
Then I ran these install commands ( I want multiple versions - as a
PostgreSQL consultant I need to test scripts and code on the version my
clients are running):
dnf install -y postgresql12 postgresql12-server postgresql12-contrib
dnf install -y postgresql13 postgresql13-server postgresql13-contrib
dnf install -y postgresql14 postgresql14-server postgresql14-contrib
dnf install -y postgresql15 postgresql15-server postgresql15-contrib
dnf install -y postgresql16 postgresql16-server postgresql16-contrib
Now when I run dnf update as root I get these conflict errors, any help
would be greatly appreciated.
Problem 1: package postgresql15-15.8-1.fc40.x86_64 from updates
conflicts with postgresql provided by
postgresql12-12.20-2PGDG.f40.x86_64 from @System
- cannot install the best update candidate for package
postgresql15-15.8-1PGDG.f40.x86_64
- cannot install the best update candidate for package
postgresql12-12.20-2PGDG.f40.x86_64
Problem 2: package postgresql15-contrib-15.8-1.fc40.x86_64 from
updates conflicts with postgresql-contrib provided by
postgresql12-contrib-12.20-2PGDG.f40.x86_64 from @System
- cannot install the best update candidate for package
postgresql15-contrib-15.8-1PGDG.f40.x86_64
- cannot install the best update candidate for package
postgresql12-contrib-12.20-2PGDG.f40.x86_64
Problem 3: package postgresql15-server-15.8-1.fc40.x86_64 from updates
conflicts with postgresql-server provided by
postgresql12-server-12.20-2PGDG.f40.x86_64 from @System
- cannot install the best update candidate for package
postgresql15-server-15.8-1PGDG.f40.x86_64
- cannot install the best update candidate for package
postgresql12-server-12.20-2PGDG.f40.x86_64
Thanks in advance
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: PostgreSQL Package conflicts on Fedora 40
2024-10-14 16:52 PostgreSQL Package conflicts on Fedora 40 Sbob <[email protected]>
@ 2024-10-14 17:13 ` Laurenz Albe <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Laurenz Albe @ 2024-10-14 17:13 UTC (permalink / raw)
To: Sbob <[email protected]>; [email protected] <[email protected]>
On Mon, 2024-10-14 at 10:52 -0600, Sbob wrote:
> I recently did a clean install of Fedora 40 on a new laptop. Then I
> installed PostgreSQL like this:
>
> dnf install -y
> https://download.postgresql.org/pub/repos/yum/reporpms/F-40-x86_64/pgdg-fedora-repo-latest.noarch.rp...
>
>
> dnf install -y postgresql12 postgresql12-server postgresql12-contrib
>
> dnf install -y postgresql13 postgresql13-server postgresql13-contrib
>
> dnf install -y postgresql14 postgresql14-server postgresql14-contrib
>
> dnf install -y postgresql15 postgresql15-server postgresql15-contrib
>
> dnf install -y postgresql16 postgresql16-server postgresql16-contrib
>
>
> Now when I run dnf update as root I get these conflict errors, any help
> would be greatly appreciated.
>
> Problem 1: package postgresql15-15.8-1.fc40.x86_64 from updates
> conflicts with postgresql provided by
> postgresql12-12.20-2PGDG.f40.x86_64 from @System
> - cannot install the best update candidate for package
> postgresql15-15.8-1PGDG.f40.x86_64
> - cannot install the best update candidate for package
> postgresql12-12.20-2PGDG.f40.x86_64
> Problem 2: package postgresql15-contrib-15.8-1.fc40.x86_64 from
> updates conflicts with postgresql-contrib provided by
> postgresql12-contrib-12.20-2PGDG.f40.x86_64 from @System
> - cannot install the best update candidate for package
> postgresql15-contrib-15.8-1PGDG.f40.x86_64
> - cannot install the best update candidate for package
> postgresql12-contrib-12.20-2PGDG.f40.x86_64
> Problem 3: package postgresql15-server-15.8-1.fc40.x86_64 from updates
> conflicts with postgresql-server provided by
> postgresql12-server-12.20-2PGDG.f40.x86_64 from @System
> - cannot install the best update candidate for package
> postgresql15-server-15.8-1PGDG.f40.x86_64
> - cannot install the best update candidate for package
> postgresql12-server-12.20-2PGDG.f40.x86_64
This is not a performance question and should go to the pgsql-pkg-yum list.
It seems like your system is trying to install updates for the PostgreSQL
packages by Fedora rather than the PGDG packages.
I would remove all Fedora PostgreSQL packages.
Yours,
Laurenz Albe
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-10-14 17:13 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-10-14 16:52 PostgreSQL Package conflicts on Fedora 40 Sbob <[email protected]>
2024-10-14 17:13 ` Laurenz Albe <[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