运行 apt update 时 Debian Ports GPG 密钥错误

运行 apt update 时 Debian Ports GPG 密钥错误

当我在家庭服务器上运行时,apt update我得到:

Hit:1 http://ftp.debian.org/debian unstable InRelease
Get:2 http://ftp.ports.debian.org/debian-ports unstable InRelease [55.3 kB]
Get:3 http://ftp.ports.debian.org/debian-ports unreleased InRelease [56.6 kB]
Ign:4 https://download.owncloud.org/download/repositories/stable/Debian_9.0  InRelease
Hit:5 https://download.owncloud.org/download/repositories/stable/Debian_9.0  Release
Err:2 http://ftp.ports.debian.org/debian-ports unstable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A88D659DCB811BB
Err:3 http://ftp.ports.debian.org/debian-ports unreleased InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A88D659DCB811BB
Fetched 112 kB in 3s (33.5 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
765 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.ports.debian.org/debian-ports unstable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A88D659DCB811BB
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.ports.debian.org/debian-ports unreleased InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A88D659DCB811BB
W: Failed to fetch http://ftp.ports.debian.org/debian-ports/dists/unstable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A88D659DCB811BB
W: Failed to fetch http://ftp.ports.debian.org/debian-ports/dists/unreleased/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A88D659DCB811BB
W: Some index files failed to download. They have been ignored, or old ones used instead.

根据其他问题我应该使用以下方法修复:

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5A88D659DCB811BB

但我收到这个错误:

Executing: /tmp/apt-key-gpghome.fTPsBznh8Q/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 5A88D659DCB811BB
gpg: keyserver receive failed: No data

我该如何解决这个问题?

编辑
按照评论中的建议尝试使用 Debian:

apt-key adv --keyserver keyring.debian.org --recv-keys 5A88D659DCB811BB
Executing: /tmp/apt-key-gpghome.HQ0bpUZIjb/gpg.1.sh --keyserver keyring.debian.org --recv-keys 5A88D659DCB811BB
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

相关内容