Getting error while installing Voyager

Hi,
I’m following Install yb-voyager | YugabyteDB Docs & when running below command:

sudo yum install https://s3.us-west-2.amazonaws.com/downloads.yugabyte.com/repos/reporpms/yb-yum-repo-1.1-0.noarch.rpm

error:

====================================================================================================================================================================================================================
 Package                                              Architecture                                    Version                                           Repository                                             Size
====================================================================================================================================================================================================================
Installing:
 yb-yum-repo                                          noarch                                          1.1-0                                             @commandline                                          9.5 k

Transaction Summary
====================================================================================================================================================================================================================
Install  1 Package

Total size: 9.5 k
Installed size: 3.5 k
Is this ok [y/N]: y
Downloading Packages:
Public key for yb-yum-repo-1.1-0.noarch.rpm is not installed
Error: GPG check FAILED

Hi @vineet2k1

What is your OS & version?

We tried on a fresh RHEL 8 machine and it worked. Please provide more details to troubleshoot this further.

Its

  Operating System: Red Hat Enterprise Linux 8.10 (Ootpa)
       CPE OS Name: cpe:/o:redhat:enterprise_linux:8::baseos
            Kernel: Linux 4.18.0-553.36.1.el8_10.x86_64
      Architecture: x86-64

I’ve tagged relevant folks from Voyager engg. We will get back to you. Thanks

I tried the installation step on a similar machine as mentioned by @vineet2k1 and did not encounter any error. The issue seems to be local to your machine.
However, you can bypass the GPG check by providing this flag along with the installation command:

sudo yum install --nogpgcheck https://s3.us-west-2.amazonaws.com/downloads.yugabyte.com/repos/reporpms/yb-yum-repo-1.1-0.noarch.rpm

Let us know if this works for you.

It worked @sgahlot_yugabyte, Thanks.