Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15889

Debian package fails to download on Arm-based hosts

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Following the first three steps of the Debian install process, after an apt-get update you'll see this line:

      $ sudo apt-get update
      ...
      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'
      

      Checking the Debian repo confirms there is no aarch64 variant available.

      Should you then attempt to install Cassandra:

      $ 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
      

      Note that there is a workaround available: if you specify "amd64" as the arch for the source, it downloads and runs on Arm without issue:

      echo "deb [arch=amd64] https://downloads.apache.org/cassandra/debian 311x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
      

      The Redhat RPM contains a "noarch" arch type, so it will download on any host. (Cassandra does not use separate binaries/releases for different architectures, so this seems to be the correct approach, but adding an aarch64 variant would also suffice.)

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mck Michael Semb Wever Assign to me
            mattsplat Matt Davis
            Michael Semb Wever
            Brandon Williams, Matt Davis
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment