cassandra

Upgrade from 3.11.x Cassandra to 4.1.8 in Amazon Linux 2 gpg key issue


I've tried a ton of things, but I can't seem to figure this out.

OS - Amazon linux 2 Recently sudo yum upgrade

I'm getting an error when trying to install Cassandra.

https://apache.jfrog.io/ui/native/cassandra-rpm/41x/repodata/repomd.xml: [Errno -1] Gpg Keys not imported, cannot verify repomd.xml for repo cassandra

I've tried everything I can find on google and nothing works. I cannot get the gpg key to install. Has anyone fixed this without starting from scratch?


Solution

  • I'm coming back to answer my own question in case anyone finds this. The reason I cannot install Cassandra 4.1.8 on Amazon Linux 2 is because the RPM version that ships with AML2 is to old. If you want to install Cassandra 4.1.8 on Amazon Linux 2 you must use the manual binary install option.