我遵循卡夫多中的指示
但是,总而言之,这就是我这么做的原因。请注意,此错误发生在以前的版本中,如Pacific和Nautilus。
curl --silent --remote-name --location https://github.com/ceph/ceph/raw/quincy/src/cephadm/cephadm
chmod +x cephadm
./cephadm add-repo --release quincy这是错误,我抄袭了整件事。
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.发布于 2022-10-18 16:59:17
在我写这个答案的时候,还没有Ubuntu22.04的存储库,还有一些由CanonicalforUbuntu22.04编译的包。
在文档中,按照以下部分的说明:特定于发行版的安装
https://stackoverflow.com/questions/74046155
复制相似问题