我一直在尝试运行 sudo apt-get update
它不断吐出一个错误,它无法获取 http://repository.spotify.com/dists/stable/InRelease
.输出如下:
Hit:1 http://repo.steampowered.com/steam precise InRelease
Hit:2 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://repository.spotify.com stable InRelease [3,302 B]
Hit:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:6 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease
Hit:7 http://archive.ubuntu.com/ubuntu xenial-security InRelease
Err:4 http://repository.spotify.com stable InRelease
The following signatures couldn't be verified because the public key
is not available: NO_PUBKEY A87FF9DF48BF1C90
Fetched 3,302 B in 1s (2,125 B/s)
Reading package lists...Done
W: An error occured during the signature verification. The repository
is not updated and the previous index files will be used. GPG error:
http://repository.spotify.com stable InRelease: The following
signatures couldn't be verified because the public key is not
availiable: NO_PUBKEY A87FF9DF48BF1C90
W:Failed to fetch http://repository.spotify.com/dists/stable/InRelease
The following signatures couldn't be verified because the pupblic key
is not available: NO_PUBKEY A87FF9DF48BF1C90
W: Some index files failed to download. They have been ignored, or old
ones used instead. `
现在有什么方法可以完全摆脱 spotify 存储库吗?或者更新它?我想不通。
最佳答案
在输出中确定以下值,您现在看到的是 供引用
NO_PUBKEY 11111111111
然后将其添加到以下命令中,在本例中为 11111111111 $ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 11111111111
最后$ sudo apt update
它对我有用,这是帮助我的来源,我希望它对你有用。https://linuxconfig.org/ubuntu-20-04-gpg-error-the-following-signatures-couldn-t-be-verified
关于ubuntu - 由于 spotify 存储库,sudo-apt get update 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51957536/