Matt Davis created CASSANDRA-15889:
--------------------------------------
Summary: Debian package fails to download on Arm-based hosts
Key: CASSANDRA-15889
URL: https://issues.apache.org/jira/browse/CASSANDRA-15889
Project: Cassandra
Issue Type: Bug
Reporter: Matt Davis
Following the first three steps of the [Debian install
process|https://cassandra.apache.org/download/], after an apt-get update you'll
see this line:
{code:bash}
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as
repository 'https://downloads.apache.org/cassandra/debian 311x InRelease'
doesn't support architecture 'arm64'
{code}
Checking the [Debian
repo|https://dl.bintray.com/apache/cassandra/dists/311x/main/] confirms there
is no aarch64 variant available.
Should you then attempt to install Cassandra:
{code:bash}
sudo apt-get install cassandra
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package cassandra is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'cassandra' has no installation candidate
{code}
Note that the Redhat RPM contains a "noarch" arch type, so it downloads
properly on any host. (Given that Cassandra does not use separate
binaries/releases for different architectures, this seems to be the correct
approach for Debian. That said, adding an aarch64 variant would also suffice.)
Also, there is a workaround available: if you specify "amd64" as the arch in
the deb command, it downloads and runs without issue:
{code:bash}
deb [arch=amd64] https://downloads.apache.org/cassandra/debian 311x main
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]