Ubuntu : GPG签名验证错误 解决之道sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 6DFBCBAE

Ubuntu : GPG签名验证错误 解决之道

sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys $Key

Where $key == the gpg key id. The key id is shown in the error message you get when running apt-get update after adding a new repository. For example:

GPG error: http://download.virtualbox.org karmic Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY DCF9F87B6DFBCBAE

执行命令: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 6DFBCBAE

出现以下错误提示:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --recv-keys --keyserver keyserver.ubuntu.com 6DFBCBAE
gpg: requesting key 6DFBCBAE from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

DCF9F87B6DFBCBAE is the key ID for the virtualbox karmic repository.

解决办法,执行如下命令:
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys DCF9F87B6DFBCBAE
  • 3
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值