Unable to install K6 on Centos 7

Hi Team,
I’m following the instructions to install Installation and observed the following issue.
Key imported successfully Import of key(s) didn’t help, wrong key(s)? Public key for k6-v0.44.1-amd64.rpm is not installed. Failing package is: k6-0.44.1-1.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-k6-io The downloaded packages were saved in the cache until the next successful transaction. You can remove cached packages by executing ‘dnf clean packages’. Error: GPG check FAILED

Then I found this link and followed it to resolve with fedora: package k6-0:0.44.0-1.x86_64 does not verify: Header V4 RSA/SHA512 Signature, key ID b1a69c86: NOTTRUSTED · Issue #3055 · grafana/k6 · GitHub

but still, I couldn’t install it and got the below error Is there any other alternative options to resolve this?

GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-k6-io (0xD6AC1D69) is already installed The GPG keys listed for the “k6” 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: k6-0.44.1-1.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-k6-io 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

Hi, please see the Troubleshooting page.

You can delete and reinstall the key, but signature verification won’t work on CentOS 7, and you need to install k6 with --nogpgcheck.

2 Likes

Cool!! it worked now…

Thank you very much

  1. sudo dnf install https://dl.k6.io/rpm/repo.rpm
  2. sudo yum install --nogpgcheck k6
1 Like