apt 缺少key 的解决办法

W: There is no public key available for the following key IDs:
7638D0442B90D010
  NO_PUBKEY CBF8D6FD518E17E1
W: There is no public key available for the following key IDs:
7638D0442B90D010
W: There is no public key available for the following key IDs:
7638D0442B90D010
W: There is no public key available for the following key IDs:
9D6D8F6BC857C906

典型错误就是提示这样, 貌似网上的其他方法都不是很管用,

用错误提示里的key id 替换下边的keyid 就可以了:

gpg --keyserver pgpkeys.mit.edu --recv-key  CBF8D6FD518E17E1
gpg -a --export CBF8D6FD518E17E1 | apt-key add -

You May Also Like

About the Author: admin

发表评论

邮箱地址不会被公开。 必填项已用*标注