我试图在Arch上使用yay安装spotify。但是当我运行yay -S spotify时,会发生这样的情况:
john@arch-thinkpad ~> yay -S spotify
:: There are 5 providers available for spotify:
:: Repository AUR
1) spotify 2) spotify-dev 3) spotify-legacy 4) spotify094 5) spotio
Enter a number (default=1): 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Repo:1] libcurl-gnutls-7.73.0-1
[Aur:1] spotify-1:1.1.42.622-2
1 spotify (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: Downloaded PKGBUILD (1/1): spotify
1 spotify (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/1) Parsing SRCINFO: spotify
:: PGP keys need importing:
-> --some-key--, required by: spotify
==> Import? [Y/n] y
:: Importing keys with gpg...
gpg: keyserver receive failed: No name
problem importing keys如何修复此错误以成功安装软件包?
发布于 2020-10-31 12:55:45
通过以下命令手动添加gpg键解决了这个问题:
gpg --keyserver keyserver.ubuntu.com --recv-key <key name>并再次运行安装:
yay -S spotifyhttps://unix.stackexchange.com/questions/617259
复制相似问题