问题原文
原帖链接 · ThorSummoner · CC BY-SA 4.0
# debootstrap buster /srv/buster
I: Retrieving InRelease
I: Checking Release signature
E: Release signed by unknown key (key id DCC9EFBF77E11517)
Where do I get this release key, and How do I add this release key to the debootstrap trust?
社区高分解答
原帖链接 · ThorSummoner · CC BY-SA 4.0
Where to get the release key? The debian archive keyring server:
How to make debootstrap trust this release key:
Make a new keyring, and inform deboostrap to use it:
wget https://ftp-master.debian.org/keys/release-10.asc -qO- | gpg --import --no-default-keyring --keyring ./debian-release-10.gpg debootstrap --keyring=./debian-release-10.gpg buster /srv/busterCompatibility Note:
I found that using a gpg2 keyring would not work due to debootstrap using
gpgvunder the hood, which uses a gpg1 database version. I recreated by gpg database like so from the , note thatgpgis gpg 1.x.x not gpg 2.x.x or newer at time of writing:
If
deboostrap were updated to use gpg --verify instead of gpgv, I would imagine gpg2 could be used as a drop-in replacement - But I cannot be certain.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
