首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >cephadm错误: add-repo没有发布文件。

cephadm错误: add-repo没有发布文件。
EN

Stack Overflow用户
提问于 2022-10-12 17:56:24
回答 1查看 198关注 0票数 0

我遵循卡夫多中的指示

但是,总而言之,这就是我这么做的原因。请注意,此错误发生在以前的版本中,如Pacific和Nautilus。

代码语言:javascript
复制
curl --silent --remote-name --location https://github.com/ceph/ceph/raw/quincy/src/cephadm/cephadm
chmod +x cephadm
./cephadm add-repo --release quincy

这是错误,我抄袭了整件事。

代码语言:javascript
复制
Installing repo GPG key from https://download.ceph.com/keys/release.gpg...
Installing repo file at /etc/apt/sources.list.d/ceph.list...
Updating package list...
Non-zero exit code 100 from apt-get update
apt-get: stdout Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
apt-get: stdout Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
apt-get: stdout Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
apt-get: stdout Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease
apt-get: stdout Ign:5 https://download.ceph.com/debian-quincy jammy InRelease
apt-get: stdout Err:6 https://download.ceph.com/debian-quincy jammy Release
apt-get: stdout   404  Not Found [IP: 158.69.68.124 443]
apt-get: stdout Reading package lists...
apt-get: stderr E: The repository 'https://download.ceph.com/debian-quincy jammy Release' does not have a Release file.
Traceback (most recent call last):
  File "/home/test/./cephadm", line 9491, in <module>
    main()
  File "/home/test/./cephadm", line 9479, in main
    r = ctx.func(ctx)
  File "/home/test/./cephadm", line 7956, in command_add_repo
    pkg.add_repo()
  File "/home/test/./cephadm", line 7578, in add_repo
    self.update()
  File "/home/test/./cephadm", line 7599, in update
    call_throws(self.ctx, ['apt-get', 'update'])
  File "/home/test/./cephadm", line 1787, in call_throws
    raise RuntimeError(f'Failed command: {" ".join(command)}: {s}')
RuntimeError: Failed command: apt-get update: E: The repository 'https://download.ceph.com/debian-quincy jammy Release' does not have a Release file.
EN

回答 1

Stack Overflow用户

发布于 2022-10-18 16:59:17

在我写这个答案的时候,还没有Ubuntu22.04的存储库,还有一些由CanonicalforUbuntu22.04编译的包。

文档中,按照以下部分的说明:特定于发行版的安装

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/74046155

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档