What were you trying to do that didn't work?
A customer upgraded from RHEL7 to RHEL8, then RHEL8 to RHEL9.
After upgrading to RHEL9, he gets warnings when using dnf or rpm commands:
# rpm -qa warning: Signature not supported. Hash algorithm SHA1 not available. warning: Signature not supported. Hash algorithm SHA1 not available. warning: Signature not supported. Hash algorithm SHA1 not available. warning: Signature not supported. Hash algorithm SHA1 not available. [...]
Because of the lack of package name that has an issue, it's complicated to troubleshoot.
I had to request the RPMDB to dig into this through running in GDB with breakpoints.
In the end it appears there were some oldish "fake" gpg-pubkey packages that were culprit.
What is the impact of this issue to you?
Complicated to troubleshoot.
Please provide the package NVR for which the bug is seen:
rpm-libs-4.16.1.3-37.el9.x86_64
How reproducible is this bug?:
Always with customer RPMDB