Обсуждение: Postgresql 18.1 LLVMJIT installation issue on Alma Linux 10
Hello,
On AlmaLinux 10 there is an unmet dependency for PostgreSQL18.1 for postgresql18-llvmjit package:
[root@prod-hz-hel-pg-01 ~]# sudo dnf install -y postgresql18-server postgresql18-llvmjit
Last metadata expiration check: 0:03:35 ago on Sun 23 Nov 2025 12:28:23 AM CET.
Error:
Problem: cannot install the best candidate for the job
- nothing provides libLLVM.so.20.1()(64bit) needed by postgresql18-llvmjit-18.1-1PGDG.rhel10.x86_64 from pgdg18
- nothing provides libLLVM.so.20.1(LLVM_20.1)(64bit) needed by postgresql18-llvmjit-18.1-1PGDG.rhel10.x86_64 from pgdg18
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Last metadata expiration check: 0:03:35 ago on Sun 23 Nov 2025 12:28:23 AM CET.
Error:
Problem: cannot install the best candidate for the job
- nothing provides libLLVM.so.20.1()(64bit) needed by postgresql18-llvmjit-18.1-1PGDG.rhel10.x86_64 from pgdg18
- nothing provides libLLVM.so.20.1(LLVM_20.1)(64bit) needed by postgresql18-llvmjit-18.1-1PGDG.rhel10.x86_64 from pgdg18
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
For PostgreSQL 18.0, installation works (requires LLVM_19).
Is there a way to work around this issue?
Kind regards Ales Zeleny
Hi Aleš, On Sun, 2025-11-23 at 00:43 +0100, Aleš Zelený wrote: > > On AlmaLinux 10 there is an unmet dependency for PostgreSQL18.1 > for postgresql18-llvmjit package: > > [root@prod-hz-hel-pg-01 ~]# sudo dnf install -y postgresql18-server > postgresql18-llvmjit > Last metadata expiration check: 0:03:35 ago on Sun 23 Nov 2025 > 12:28:23 AM > CET. > Error: > Problem: cannot install the best candidate for the job > - nothing provides libLLVM.so.20.1()(64bit) needed by > postgresql18-llvmjit-18.1-1PGDG.rhel10.x86_64 from pgdg18 > - nothing provides libLLVM.so.20.1(LLVM_20.1)(64bit) needed by > postgresql18-llvmjit-18.1-1PGDG.rhel10.x86_64 from pgdg18 > (try to add '--skip-broken' to skip uninstallable packages or '-- > nobest' to > use not only best candidate packages) > > For PostgreSQL 18.0, installation works (requires LLVM_19). > > Is there a way to work around this issue? What happens if you run echo "10.0" > /etc/dnf/vars/releasever and try again? Thanks! Regards, -- Devrim Gündüz Open Source Solution Architect, PostgreSQL Major Contributor BlueSky: @devrim.gunduz.org , @gunduz.org
Вложения
Hello,
Many thanks, it solved the problem.
Kind regards Ales Zeleny
po 24. 11. 2025 v 13:38 odesílatel Devrim Gündüz <devrim@gunduz.org> napsal:
Hi Aleš,
On Sun, 2025-11-23 at 00:43 +0100, Aleš Zelený wrote:
>
> On AlmaLinux 10 there is an unmet dependency for PostgreSQL18.1
> for postgresql18-llvmjit package:
>
> [root@prod-hz-hel-pg-01 ~]# sudo dnf install -y postgresql18-server
> postgresql18-llvmjit
> Last metadata expiration check: 0:03:35 ago on Sun 23 Nov 2025
> 12:28:23 AM
> CET.
> Error:
> Problem: cannot install the best candidate for the job
> - nothing provides libLLVM.so.20.1()(64bit) needed by
> postgresql18-llvmjit-18.1-1PGDG.rhel10.x86_64 from pgdg18
> - nothing provides libLLVM.so.20.1(LLVM_20.1)(64bit) needed by
> postgresql18-llvmjit-18.1-1PGDG.rhel10.x86_64 from pgdg18
> (try to add '--skip-broken' to skip uninstallable packages or '--
> nobest' to
> use not only best candidate packages)
>
> For PostgreSQL 18.0, installation works (requires LLVM_19).
>
> Is there a way to work around this issue?
What happens if you run
echo "10.0" > /etc/dnf/vars/releasever
and try again?
Thanks!
Regards,
--
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
BlueSky: @devrim.gunduz.org , @gunduz.org
Hi, On Mon, 2025-11-24 at 16:32 +0100, Aleš Zelený wrote: > Many thanks, it solved the problem. Please note that it will lock the whole OS to 10.0 and you won't be able to update to 10.1 -- though we'll support 10.0 until 10.2 is out. Since AlmaLinux 10.1 is out now, you can remove that file and update OS to 10.1 and receive OS updates. Regards, -- Devrim Gündüz Open Source Solution Architect, PostgreSQL Major Contributor BlueSky: @devrim.gunduz.org , @gunduz.org
Вложения
Hi, thanks for mentioning that.
by the way, might it be found (and if not can you add a note about the /etc/dnf/vars/releasever file to the downloads page, https://www.postgresql.org/download/linux/redhat/ to reveal this magic to everyone )?
Kind regards Ales Zeleny
po 24. 11. 2025 v 16:39 odesílatel Devrim Gündüz <devrim@gunduz.org> napsal:
Hi,
On Mon, 2025-11-24 at 16:32 +0100, Aleš Zelený wrote:
> Many thanks, it solved the problem.
Please note that it will lock the whole OS to 10.0 and you won't be able
to update to 10.1 -- though we'll support 10.0 until 10.2 is out.
Since AlmaLinux 10.1 is out now, you can remove that file and update OS
to 10.1 and receive OS updates.
Regards,
--
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
BlueSky: @devrim.gunduz.org , @gunduz.org
Hi, On Mon, 2025-11-24 at 23:09 +0100, Aleš Zelený wrote: > by the way, might it be found (and if not can you add a note about > the /etc/dnf/vars/releasever file to the downloads page, > https://www.postgresql.org/download/linux/redhat/ to reveal this magic > to everyone )? Will do. I'm still polishing a few things (fixed extras repos today. non-free repo is left for now). I'll likely do that later tomorrow night. Regards, -- Devrim Gündüz Open Source Solution Architect, PostgreSQL Major Contributor BlueSky: @devrim.gunduz.org , @gunduz.org