Mmuzaf commented on code in PR #268:
URL: https://github.com/apache/cassandra-website/pull/268#discussion_r1566083914


##########
site-content/source/modules/ROOT/pages/download.adoc:
##########
@@ -156,18 +156,18 @@ Debian's `sources.list` and RedHat's `cassandra.repo` 
files must be updated to p
 * For the `<release series>` specify the major version number, without dot, 
and with an appended x.
 * The latest `<release series>` is `41x`.
 * For older releases, the `<release series>` can be one of `40x`, `311`, 
`30x`, or `22x`.
-* Add the Apache repository of Cassandra to 
`/etc/apt/sources.list.d/cassandra.sources.list`, for example for the latest 4.0
+* Add the Apache Cassandra repository keys:
 
 [source]
 --
-echo "deb https://debian.cassandra.apache.org 41x main" | sudo tee -a 
/etc/apt/sources.list.d/cassandra.sources.list
+curl -o /etc/apt/keyrings/apache-cassandra.asc 
https://downloads.apache.org/cassandra/KEYS
 --
 
-* Add the Apache Cassandra repository keys:
+* Add the Apache repository of Cassandra to 
`/etc/apt/sources.list.d/cassandra.sources.list`, for example for the latest 4.1
 
 [source]
 --
-curl https://downloads.apache.org/cassandra/KEYS | sudo apt-key add -
+echo "deb [signed-by=/etc/apt/keyrings/apache-cassandra.asc] 
https://debian.cassandra.apache.org 41x main" | sudo tee -a 
/etc/apt/sources.list.d/cassandra.sources.list

Review Comment:
   I've checked everything on a Debian VM, everything seems to work fine!
   
   ```
   parallelsx@debian-gnu-linux-12:~$ sudo apt-get install cassandra
   Reading package lists... Done
   Building dependency tree... Done
   Reading state information... Done
   The following additional packages will be installed:
     ca-certificates-java java-common libatk-wrapper-java 
libatk-wrapper-java-jni openjdk-17-jre
     openjdk-17-jre-headless
   Suggested packages:
     cassandra-tools default-jre fonts-ipafont-gothic fonts-ipafont-mincho 
fonts-wqy-microhei
     | fonts-wqy-zenhei fonts-indic
   The following NEW packages will be installed:
     ca-certificates-java cassandra java-common libatk-wrapper-java 
libatk-wrapper-java-jni openjdk-17-jre
     openjdk-17-jre-headless
   0 upgraded, 7 newly installed, 0 to remove and 239 not upgraded.
   Need to get 91.7 MB of archives.
   After this operation, 253 MB of additional disk space will be used.
   Do you want to continue? [Y/n] Y
   
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to