Rocky 9.5 up to date: dnf crash with core dump

If I run dnf with LANG set to it_IT dnf aborted with core dump:

[root@s-ispc ~]# echo $LANG
it_IT.UTF-8
[root@s-ispc ~]# dnf update
Ultima verifica della scadenza dei metadati: 4:16:59 fa il mer 22 gen 2025, 12:44:04.
Errore di segmentazione (core dump creato)

If I set LANG=C dnf work with a warning:

[root@s-ispc ~]# LANG=C dnf update
Last metadata expiration check: 0:00:41 ago on Wed Jan 22 17:04:33 2025.
warning: (null): notification message: recovered 136 frames from WAL file /var/lib/dnf/history.sqlite-wal
Dependencies resolved.
Nothing to do.
Complete!

Also if I remove /var/lib/dnf/history.sqlite* dnf work property

[root@s-ispc ~]# rm -f /var/lib/dnf/history.sqlite*
[root@s-ispc ~]# LANG=C dnf update
Last metadata expiration check: 0:02:00 ago on Wed Jan 22 17:04:33 2025.
Dependencies resolved.
Nothing to do.
Complete!

In this case it work also with LANG=it_IT.UTF-8

[root@s-ispc ~]# rm -f /var/lib/dnf/history.sqlite*
[root@s-ispc ~]# echo $LANG
it_IT.UTF-8
[root@s-ispc ~]# dnf update
Ultima verifica della scadenza dei metadati: 0:04:19 fa il mer 22 gen 2025, 17:04:33.
Dipendenze risolte.
Nessuna operazione da compiere.
Fatto!

What can I check for resolve this issue?
Many thanks
Dario

SOLVED:

It was sqlite-libs broken, that it was accidentally updated the original and worked sqlite-libs from an additional repository not disable.

I have run “dnf downgrade sqlite-libs” and disable this repo unreliable and now all work fine

sorry for the inconvenience

Dario

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.