[Linux] 解決 GPG error: http://deb.debian.org/debian ... public key is not available: NO_PUBKEY

在下sudo apt-get update指令時,出現了


GPG error: http://ftp.de.debian.org/debian jessie Release: The following signatures couldn't be verified because the public key is not available


只要下以下兩道指令就可以解決了

sudo apt-get install debian-archive-keyring
sudo apt-get install debian-keyring


PS:網路上很多解決方法是下指令

apt-key adv --keyserver   keyserver.ubuntu.com --recv-keys <public key>


但我使用後卻出現越多個 public key is not available


參考 reference:

https://github.com/adrianmihalko/raspberrypiwireguard/issues/20


留言

熱門文章