Docs: deprecate the usage of apt-key and adopt distribution name

Patch by Tibor Répási; reviewed by brandonwilliams for CASSANDRA-19110
This commit is contained in:
Tibor Répási 2024-04-02 20:44:40 +02:00 committed by Brandon Williams
parent e276173d37
commit 338e4ed618
3 changed files with 11 additions and 6 deletions

View File

@ -1 +1 @@
$ curl https://downloads.apache.org/cassandra/KEYS | sudo apt-key add -
$ curl -o /etc/apt/keyrings/apache-cassandra.asc https://downloads.apache.org/cassandra/KEYS

View File

@ -1,2 +1,2 @@
$ echo "deb https://debian.cassandra.apache.org 311x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
$ echo "deb [signed-by=/etc/apt/keyrings/apache-cassandra.asc] https://debian.cassandra.apache.org 311x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
deb https://debian.cassandra.apache.org 311x main

View File

@ -1,5 +1,10 @@
The latest major version is {311_version} and the
corresponding distribution name is `311x` (with an "x" as the suffix).
For older releases use `30x` for {30_version}, `22x` for {22_version} and
`21x` for {21_version}.
The latest major version is {311_version} and the corresponding distribution name is `311x` (with an "x" as the suffix).
For older releases use:
* `311x` for C* {311_version} series
* `30x` for C* {30_version} series
* `22x` for C* {22_version} series
* `21x` for C* {21_version} series
* `20x` for C* {20_version} series
For example, to add the repository for version {311_version} (`311x`):