由于没有公钥,无法验证下列签名 Ubuntu

 

问题:执行 apt-get update 时错误

W: GPG 错误:https://apt.dockerproject.org ubuntu-trusty InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY F76221572C52609D

 

解决:

# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F76221572C52609D


Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.O9IakFlDl6 --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
gpg: 下载密钥‘3E5C1192’,从 hkp 服务器 keyserver.ubuntu.com
gpg: 密钥 3E5C1192:公钥“Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>”已导入
gpg: 合计被处理的数量:1
gpg: 已导入:1

#apt-get clean

#apt-get update

 

posted @ 2017-04-24 11:14  Eamon13  阅读(7267)  评论(0编辑  收藏  举报