问题描述
我怎样才能忽略该消息?
W: GPG error: https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 56A3DEF863961D39
W: The repository 'https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
它来自英特尔更新 gfx。
最佳方法
我通过运行以下命令成功解决了 Ubuntu 16.04 和 16.10 的问题
wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-GROUP-KEY-ilg -O - | sudo apt-key add -
wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg -O - | sudo apt-key add -
wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-2 -O - | sudo apt-key add -
wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-3 -O - | sudo apt-key add -
wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-4 -O - | sudo apt-key add -
次佳方法
尝试添加密钥(将 56A3DEF863961D39
替换为您丢失的密钥):
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 56A3DEF863961D39
sudo apt-get update
参考文献及进一步阅读:
第三种方法
打开终端并运行
wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-4 -O - | sudo apt-key add -
这将允许更新,您会收到弱摘要算法警告,但目前这只是一个警告。(在 16.04 中