英文:
Unable to install Cassandra package from Apache, repository is not signed error
问题
Cassandra安装进度片段:
RUN echo "deb http://www.apache.org/dist/cassandra/debian 311x main" | tee -a /etc/apt/sources.list.d/cassandra.sources.list
RUN curl https://downloads.apache.org/cassandra/KEYS | apt-key add -
RUN apt-get update
错误输出:
无法获取http://www.apache.org/dist/cassandra/debian/dists/311x/InRelease 的内容 470 状态码 470
该仓库 'http://www.apache.org/dist/cassandra/debian 311x InRelease' 未签名。
命令 '/bin/sh -c apt-get update' 返回了非零代码:100
<details>
<summary>英文:</summary>
Snippet of cassandra installation progress:
RUN echo "deb http://www.apache.org/dist/cassandra/debian 311x main" | tee -a /etc/apt/sources.list.d/cassandra.sources.list
RUN curl https://downloads.apache.org/cassandra/KEYS | apt-key add -
RUN apt-get update
Error output:
Failed to fetch http://www.apache.org/dist/cassandra/debian/dists/311x/InRelease 470 status code 470
The repository 'http://www.apache.org/dist/cassandra/debian 311x InRelease' is not signed.
The command '/bin/sh -c apt-get update' returned a non-zero code: 100
</details>
# 答案1
**得分**: 2
请注意关于[下载Cassandra][1]中的部分,特别是关于“从Debian软件包安装”的部分。仓库已经迁移到另一个URL。
[1]: https://cassandra.apache.org/_/download.html
<details>
<summary>英文:</summary>
Please note the part of [Downloading Cassandra][1] with "Installation from Debian packages". The repositories were moved to another URL.
[1]: https://cassandra.apache.org/_/download.html
</details>
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论