一种方法如下:
Try this as root:
# gpg --recv-keys 4D270D06F42584E6
# gpg --export 4D270D06F42584E6 | apt-key add -
That should download the key from a public keyserver and then the second command adds it to apt. You may need to specify a keyserver if the default doesn't work. There are several public ones available.
另一种方法似乎更为简单:
# apt-get install debian-keyring debian-archive-keyring
# apt-key update
尝试了第二种方法,成功解决了public key的问题。
Try this as root:
# gpg --recv-keys 4D270D06F42584E6
# gpg --export 4D270D06F42584E6 | apt-key add -
That should download the key from a public keyserver and then the second command adds it to apt. You may need to specify a keyserver if the default doesn't work. There are several public ones available.
另一种方法似乎更为简单:
# apt-get install debian-keyring debian-archive-keyring
# apt-key update
尝试了第二种方法,成功解决了public key的问题。
本文介绍了两种解决public key问题的方法。第一种方法通过使用gpg命令接收并导入key,然后将其添加到apt中。如果默认的key server无法工作,则可能需要指定其他public key server。第二种方法更简单,通过apt-get安装相应的keyring和key,然后使用apt-key update更新key。最终,采用第二种方法成功解决了public key问题。
3490

被折叠的 条评论
为什么被折叠?



