Cannot install spotify with yay due to gpg not accepting key

GPG just doesnt want to download the key for spotify

-> % yay -S spotify
AUR Explicit (1): spotify-1:1.2.26.1187-1
:: PKGBUILD up to date, skipping download: spotify
  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)
==>
  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)
==>
==> Making package: spotify 1:1.2.26.1187-1 (Sat 20 Jan 2024 09:10:08 PM EET)
==> Retrieving sources...
  -> Found spotify-1.2.26.1187-g36b715a1-x86_64.deb
  -> Found spotify.sh
  -> Found spotify.protocol
  -> Found LICENSE
  -> Found spotify-1.2.26.1187-1-Release
  -> Found spotify-1.2.26.1187-1-Release.sig
  -> Found spotify-1.2.26.1187-1-x86_64-Packages
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    spotify-1.2.26.1187-g36b715a1-x86_64.deb ... Passed
    spotify.sh ... Passed
    spotify.protocol ... Passed
    LICENSE ... Passed
    spotify-1.2.26.1187-1-Release ... Skipped
    spotify-1.2.26.1187-1-Release.sig ... Skipped
    spotify-1.2.26.1187-1-x86_64-Packages ... Skipped
:: (1/1) Parsing SRCINFO: spotify
gpg: error reading key: No public key

 :: PGP keys need importing:
 -> E27409F51D1B66337F2D2F417A3A762FAFD4A51F, required by: spotify
:: Import? [Y/n]
:: Importing keys with gpg...
gpg: keyserver receive failed: Server indicated a failure
 -> problem importing keys

And if i try to import the key manually it gives me the same error

-> % gpg --recv E27409F51D1B66337F2D2F417A3A762FAFD4A51F
gpg: keyserver receive failed: Server indicated a failure

I could and have before downloaded the key as a file and import it that way but its really not ideal

Thanks for the help

Try the suggestion from NicoHood here: https://aur.archlinux.org/packages/spotify#comment-904491

thanks, not ideal but it will work for now

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.