Reputation: 23
We use Cassandra 3.11.13 and have found that the download for ubuntu returns a 404 when installing https://downloads.apache.org/cassandra/debian/pool/main/c/cassandra/cassandra_3.11.13_all.deb
Added the repository for cassandra to ubuntu then sudo apt-get install cassandra we get a 404 on the .deb package
There are no version 3 packages in https://downloads.apache.org/cassandra/debian/pool/main/c/cassandra/
Upvotes: 1
Views: 2727
Reputation: 16353
It appears you are still using the old source for the Cassandra packages.
Last year (July 2022), we moved the Debian and RPM repositories from downloads.apache.org
to Apache's JFrog Artifactory server (CASSANDRA-17748).
If you have a look at the official Apache Cassandra Download page, there is a message that warns you about it:
⚠️ Debian and RedHat package repositories have moved!
Debian’s
sources.list
and RedHat’scassandra.repo
files must be updated to point to the new repository URLs (see below).
We also announced the change in Changelog #18 and Changelog #19.
The new repository URLs are:
https://debian.cassandra.apache.org
https://redhat.cassandra.apache.org
Specifically for C* 3.11.13:
$ curl -L https://debian.cassandra.apache.org/pool/main/c/cassandra/ \
| grep cassandra_3.11.13_all.deb
<a href="cassandra_3.11.13_all.deb">cassandra_3.11.13_all.deb</a> 14-May-2022 00:15 29.26 MB
Please make sure you update your configuration to use the new sources. Cheers!
Upvotes: 2
Reputation: 23
From the looks of it we need to use archive instead of www so that it gets the deb file from the archive
echo "deb http://archive.apache.org/dist/cassandra/debian 311x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
Upvotes: 0