ubuntu - 由于 spotify 存储库,sudo-apt get update 失败

标签 ubuntu repository spotify sudo xfce

我一直在尝试运行 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/

相关文章:

api - 通过Spotify API将歌曲添加到Spotify队列

linux - egrep AND 多个模式的条件不起作用

ubuntu - 为什么 subversion 在没有任何信息的情况下挂起?

curl - Github API v3 不显示所有用户存储库

git - AOSP repo 工具具体为每个 git repo checkout 什么?

spotify - 我可以让客户端在基于浏览器的播放器中流式传输来自 Spotify 的内容吗?

Spotify:如何使用新 API 嵌入轨道集?

ubuntu - 安装EASGD Torch luarocks 模块找不到libmpiT.so?

python - libxml2安装错误: command 'gcc' failed with exit status 1? libxml2的依赖关系是什么?

maven-2 - Maven - 如何/在哪里发布工件