Details
-
Improvement
-
Status: Triage Needed
-
Normal
-
Resolution: Unresolved
-
None
-
All
-
None
Description
The current installation steps contains the following step to trust the cassandra package:
curl https://downloads.apache.org/cassandra/KEYS | sudo apt-key add -
Instead, it would be better to use the following steps:
echo "deb [signed-by=/etc/apt/keyrings/cassandra.gpg] https://debian.cassandra.apache.org 41x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
sudo curl https://downloads.apache.org/cassandra/KEYS -o /etc/apt/keyrings/cassandra.asc
sudo gpg -o /etc/apt/keyrings/cassandra.gpg --dearmor /etc/apt/keyrings/cassandra.asc
sudo apt-get update
sudo apt-get install cassandra