!['http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release' 未签名](https://linux22.com/image/1002826/'http%3A%2F%2Fdownload.opensuse.org%2Frepositories%2Fhome%3A%2Fstrycore%2FxUbuntu_16.04%20.%2F%20Release'%20%E6%9C%AA%E7%AD%BE%E5%90%8D%20.png)
W: GPG error: http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2F7F0DA5FD5B64B9
W: The repository 'http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release' 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.
我正在尝试摆脱上述看似与发布密钥和 opensuse url 相关的错误消息。
什么是正确的解决方案?
答案1
这对我有用:
wget -nv https://download.opensuse.org/repositories/home:selmf/xUbuntu_16.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update