From bec13fc263d87024ba2f404c8a24b5070b3cca30 Mon Sep 17 00:00:00 2001
From: David Douard <david.douard@sdfa3.org>
Date: Thu, 28 Sep 2023 16:18:28 +0200
Subject: [PATCH] update Cassandra debian repository url

---
 docs/devel/developer-setup.rst                    | 2 +-
 docs/sysadm/deployment/howto-debian-packaging.rst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/devel/developer-setup.rst b/docs/devel/developer-setup.rst
index 5175e557..6052f302 100644
--- a/docs/devel/developer-setup.rst
+++ b/docs/devel/developer-setup.rst
@@ -28,7 +28,7 @@ package manager. On Debian/Ubuntu-based distributions::
   sudo wget https://www.postgresql.org/media/keys/ACCC4CF8.asc -O /etc/apt/trusted.gpg.d/postgresql.asc
   echo "deb https://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" | sudo tee -a /etc/apt/sources.list.d/pgdg.list
   sudo wget https://downloads.apache.org/cassandra/KEYS -O /etc/apt/trusted.gpg.d/cassandra.asc
-  echo "deb https://downloads.apache.org/cassandra/debian 40x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.list
+  echo "deb https://debian.cassandra.apache.org 41x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.list
   sudo apt update
   sudo apt install \
       build-essential pkg-config lzip rsync \
diff --git a/docs/sysadm/deployment/howto-debian-packaging.rst b/docs/sysadm/deployment/howto-debian-packaging.rst
index 234f36a2..02091317 100644
--- a/docs/sysadm/deployment/howto-debian-packaging.rst
+++ b/docs/sysadm/deployment/howto-debian-packaging.rst
@@ -456,7 +456,7 @@ or if you need some third-party repository, say cassandra (for swh-storage):
    gbp buildpackage --git-builder=sbuild -As \
      --no-clean-source --force-orig-source \
      --extra-repository='deb [trusted=yes] https://debian.softwareheritage.org/ unstable main' \
-     --extra-repository='deb [arch=amd64 trusted=yes] https://downloads.apache.org/cassandra/debian/ 40x main'
+     --extra-repository='deb [arch=amd64 trusted=yes] https://debian.cassandra.apache.org 41x main'
 
 For **buster**, it would be (note the usage of aptitude as resolver as the
 backports repository is used):
-- 
GitLab