我有 17.04,今天我安装了 Linux 版 Skype,但是执行时sudo apt update
出现以下信息:
W: Errore GPG: https://repo.skype.com/deb stable InRelease: Le seguenti firme non sono state verificate perché la chiave pubblica non è disponibile: NO_PUBKEY 1F3045A5DF7587C3
E: The repository 'https://repo.skype.com/deb stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
(第一行翻译:GPG 错误 由于公钥不可用,以下签名未得到验证)
我该如何解决?
答案1
问题是,使用deb
安装程序安装 skype 后,它会将 skype 的存储库添加到你的源文件中,将存储库添加到你的源后,你也应该添加它的公钥,但 Skype 似乎没有将其公钥添加到你的系统,因此你应该手动添加它:
作为这里状态:
curl https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -
如果你没有curl
:
wget -O - https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -