ovirt – Installing centos-release -ovirt45 on Almalinux 9.1

I wanna install centos-release -ovirt45: with this teps:

# dnf install - y centos-release -ovirt45
# dnf upgrade --nobest -y
# dnf install ovirt-engine -y

I got this error:

Signature not supported. Hash algorithm SHA1 not available

Then i tried this:

# update-crypto-policies --set DEFAULT:SHA1
# dnf clean all
# rm -r /var/cache/dnf/

And then again:

# dnf install - y centos-release -ovirt45
# dnf upgrade --nobest -y
# dnf install ovirt-engine -y

Now i got this error:

oVirt upstream for CentOS Stream 9 – oVirt 4.5
2.8 MB/s | 2.9 kB 00:00 GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oVirt-4.5 (0xFE590CB7) is already
installed The GPG keys listed for the “oVirt upstream for CentOS
Stream 9 – oVirt 4.5” repository are already installed but they are
not correct for this package. Check that the correct key URLs are
configured for this repository.. Failing package is:
java-client-kubevirt-0.5.0-2.el9.noarch GPG Keys are configured as:
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oVirt-4.5 The downloaded packages
were saved in cache until the next successful transaction. You can
remove cached packages by executing ‘dnf clean packages’. Error: GPG
check FAILED

Please help me to solve it

Read more here: Source link