2021年编辑:认为最终重新安装操作系统可以解决这个问题。请注意,私有存储库也apt-key
以现已弃用的方式添加(通过)。看:
- https://askubuntu.com/a/1307181
- https://www.linuxuprising.com/2021/01/apt-key-is-deprecated-how-to-add.html
有关的:
- http://forums.debian.net/viewtopic.php?f=3&t=134409
- 添加非免费版本后 Debian 扩展包系统会崩溃
- https://unix.stackexchange.com/a/387054/47501
更新到 Debian Buster 后,我在从 3rd 方存储库安装程序时遇到了问题(例如 Spotify,海上驱动器(对于海文件),单核细胞增多症, 莫皮迪)。摘录自apt-get update
:
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 13B00F1FD2C19886
E: The repository 'http://repository.spotify.com stable InRelease' is not signed.
apt
我知道这与如何处理键有关,即“ preference for SHA-1 encryption has been turned off in APT
”。
Spotify 的相关apt-key list
摘录:
/etc/apt/trusted.gpg.d/spotify-2015-05-28-D2C19886.gpg
------------------------------------------------------
pub rsa4096 2015-05-28 [SC] [expires: 2017-11-22]
BBEB DCB3 18AD 50EC 6865 0906 13B0 0F1F D2C1 9886
uid [ unknown] Spotify Public Repository Signing Key <[email protected]>
apt-get update
输出:https://pastebin.com/sHFxAFvj
做什么?与提供商开票并长期安装--allow-unauthenticated
?
注意:这不会在从stretch 升级到buster 的系统中重现。