无法从Apache安装Cassandra包,仓库未签名错误。

huangapple go评论132阅读模式
英文:

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 &quot;Installation from Debian packages&quot;. The repositories were moved to another URL.


  [1]: https://cassandra.apache.org/_/download.html

</details>



huangapple
  • 本文由 发表于 2023年3月8日 17:36:21
  • 转载请务必保留本文链接:https://go.coder-hub.com/75671393.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定