When attempting to install the tanzu CLI on an YUM or DNF (RHEL) system, it fails.
The failure occurs upon running the command: sudo yum install tanzu-cli-1.3.0
The error reported is similar to below:
Error: Failed to download metadata for repo 'tanzu-cli': repomd.xml GPG signature verification error: Bad GPG signature
ANY environment that requires or makes use of the tanzu
CLI.
Such as:
2024.12.16: Status Summary:
Ongoing issue. Investigation in progress:
2024.12.16: Status Details:
It is believed this is an issue when using RPM signing in conjunction with DigiCert® Software Trust Manager
As mentioned in the DigiCert article, Sign RPM files with GPG and RPM signing tool using Smartcard Daemon (SCD):
Certain versions of RHEL and CentOS, specifically versions 8 and 9, may encounter issues when attempting to use RPM signing in conjunction with Software Trust Manager when using a combination of a subkey and a master key. To address this issue, download a keyring with only a master key enabled for signing.
Steps:
tanzu-cli.repo
file just as mentioned in the Install the Tanzu CLI -> Install using a package manager -> YUM or DNF (RHEL) documentationyum
:sudo yum install --nogpgcheck -y tanzu-cli-1.3.0
dnf
:sudo dnf install --nogpgcheck -y tanzu-cli-1.3.0
If you have further issues or questions, please open a Tanzu Support Request.