无法在debian-9中安装DRBD9

无法在debian-9中安装DRBD9,debian,apt,launchpad,drbd,Debian,Apt,Launchpad,Drbd,我需要将drbd8升级到drbd9。为此,我将遵循此文档 步骤1 root@oreo:~# add-apt-repository ppa:linbit/linbit-drbd9-stack This PPA contains DRBD9, drbd-utils, LINSTOR (client, python API, server). This differs from official, production grade LINBIT repositories in several

我需要将drbd8升级到drbd9。为此,我将遵循此文档

步骤1

root@oreo:~# add-apt-repository ppa:linbit/linbit-drbd9-stack

 This PPA contains DRBD9, drbd-utils, LINSTOR (client, python API, server).

This differs from official, production grade LINBIT repositories in several ways, including:
- We push RCs immediately to the PPA
- We don't push hotfixes, these usually have to wait until the next RC/release
- We only keep 2 LTS versions up to date (Bionic and Focal, but not Xenial)

For support and access to official repositories see:
https://www.linbit.com or write an email to: sales AT linbit.com
 More info: https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmp68jovxd3/pubring.gpg' created
gpg: keyserver receive failed: No keyserver available
步骤2接下来,您需要将DRBD签名密钥添加到您的受信任密钥中

wget -O- http://packages.linbit.com/gpg-pubkey-53B3B037-282B6E23.asc | apt-key add -
步骤3最后执行apt更新,以便Debian识别更新的存储库

apt update
我犯了这样的错误

apt-get update
Ign:1 http://ftp.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org stretch/updates InRelease
Hit:3 http://download.virtualbox.org/virtualbox/debian stretch InRelease
Hit:4 http://apt.postgresql.org/pub/repos/apt stretch-pgdg InRelease
Hit:5 http://ftp.debian.org/debian stretch-updates InRelease
Ign:6 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute InRelease
Hit:7 http://ftp.debian.org/debian stretch-backports InRelease
Hit:8 http://ftp.debian.org/debian stretch Release
Ign:9 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute Release
Ign:10 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main amd64 Packages
Ign:11 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main all Packages
Ign:12 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main Translation-en
Ign:10 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main amd64 Packages
Ign:11 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main all Packages
Ign:12 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main Translation-en
Ign:10 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main amd64 Packages
Ign:11 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main all Packages
Ign:12 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main Translation-en
Ign:10 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main amd64 Packages
Ign:11 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main all Packages
Ign:12 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main Translation-en
Ign:10 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main amd64 Packages
Ign:11 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main all Packages
Ign:12 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main Translation-en
Err:10 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main amd64 Packages
  404  Not Found
Ign:11 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main all Packages
Ign:12 http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute/main Translation-en
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu hirsute Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu/dists/hirsute/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
请帮帮我

E: Failed to fetch http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu/dists/hirsute/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
这是404,因为该路径不存在。访问以查看所有可用的发行版


LINBIT通常只提供LTS版本的软件包。而我相信,Hirsute将是未来的LTS版本。目前它仍然是一个开发/未来版本。

ppa应该只在Ubuntu及其衍生产品上运行

在debian上安装
drbd9
您需要:

将gpg密钥添加到您的密钥环:

gpg --keyserver keyserver.ubuntu.com --recv-keys 0x53B3B037282B6E23
gpg --export -a 0x53B3B037282B6E23 |sudo apt-key add -
将以下行添加到您的
/etc/apt/sources.list

deb http://packages.linbit.com/<hash>/ stretch drbd-9.0

如何获得40个字符的访问权限(哈希)?如何申请?
sudo apt update
sudo apt install drbd9-utils