IBM Support

Error on DataStax repository when running yum

Troubleshooting


Problem

Symptoms

The following error occurs when trying to install DSE or using yum on RedHat

Error: Failed to download metadata for repo 'datastax': repomd.xml GPG signature verification error: Bad GPG signature

For Debian/Ubuntu, please refer to the following article: https://support.datastax.com/s/article/Error-on-DataStax-repository-when-running-apt-update

Applies to

  • DataStax Enterprise rpm repository
  • RedHat Enterprise, CentOS, Oracle Linux

Cause

The key for the DataStax rpm repository expired on 2024-05-10

Solution

If the system is affected, remove the old key and download the new one:

  1. List existing keys rpm -qa gpg-pubkey*
  2. Validate DataStax key rpm -qi gpg-pubkey-10782bd9-609ad0ad
  3. Delete the key rpm -e gpg-pubkey-10782bd9-609ad0ad
  4. Import the new key

a. If the gpg key is available gpgkey=https://rpm.datastax.com/rpm/repo_key in the Datastax .repo file under /etc/yum.repos.d/, no further action is required.

b. Otherwise, proceed as follow:

curl -O https://rpm.datastax.com/rpm/repo_key # download key
rpm --import repo_key # import key

The repo_key can be removed afterward.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCR56","label":"IBM DataStax Enterprise"},"ARM Category":[{"code":"","label":""}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Historical Number

ka0Ui0000001itRIAQ

Document Information

Modified date:
30 January 2026

UID

ibm17258509