I tried to use Pacman to install Spotify from AUR, which has worked fine for other applications (Minecraft for example). Firstly, I did
git clone https://aur.archlinux.org/spotify.git, which worked fine. Then, I cded to the directory it installed to. I tried to do
makepkg, but it gave me an error (“One or more PGP signatures could not be verified!”) Here is the full output it gave me:
~/spotify >>> makepkg ±[●][master] ==> Making package: spotify 1:22.214.171.1242-2 (Mon 26 Oct 2020 11:58:04 AM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found spotify.protocol -> Found LICENSE -> Found spotify-126.96.36.1992-Release -> Found spotify-188.8.131.522-Release.sig -> Found spotify-184.108.40.2062-x86_64.deb -> Found spotify-220.127.116.112-x86_64-Packages ==> Validating source files with sha512sums... spotify.protocol ... Passed LICENSE ... Passed spotify-18.104.22.1682-Release ... Skipped spotify-22.214.171.1242-Release.sig ... Skipped ==> Validating source_x86_64 files with sha512sums... spotify-126.96.36.1992-x86_64.deb ... Passed spotify-188.8.131.522-x86_64-Packages ... Passed ==> Verifying source file signatures with gpg... spotify-184.108.40.2062-Release ... FAILED (unknown public key D1742AD60D811D58) ==> ERROR: One or more PGP signatures could not be verified!
After some Googling, I found that this seems to be a pretty common issue, possibly stemming from Spotify having multiple pubkeys. Some people, including Manjaro users, seem to have been able to fix this by usingwget
to install the pubkeys, but I cannot for some reason. A thread on the Arch forums is where I got most of my information about the issue. The last poster before the thread was closed seems to have fixed it usingwget
piped to GPG importing, and I copy-pasted their command, then triedmakepkg
again, but it still did not work. Since I cannot link the thread, here is the command they used. curl -sS https://download.spotify.com/debian/pubkey.gpg | gpg --import -`
Does anyone have any suggestions or ideas as to what I’m doing wrong? Thank you!