Given I have spotify installed on my ubuntu system When i upgrade using:

sudo apt-get update

Then I get this error:

W: An error occurred 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 available: NO_PUBKEY 13B00F1FD2C19886

W: Failed to fetch http://repository.spotify.com/dists/stable/InRelease  

W: Some index files failed to download. They have been ignored, or old ones used instead.
  • Do you have some more questions, or want to set one answer as solution? May 9, 2018 at 14:23

3 Answers 3


This happen when somehow we'd lost the keys.

In order to solve it, I did execute the first step listed in the official installation guide, inside the section Debian / Ubuntu


I had the same problem. Basically what you can do is handle it through Y-PPA-Manager. So please follow exact steps,

  1. sudo add-apt-repository ppa:webupd8team/y-ppa-manager to add webupd8 repository.
  2. sudo apt update
  3. sudo apt install y-ppa-manager
  4. y-ppa-manager to run the y-ppa-manager.
  5. Click on Advanced.
  6. Click on Try to import all missing GPG keys and click Ok. It will give you an alert when it's over.
  7. apt update

Weirdly enough I started to get this error in 2020. I've fixed it by running those commands that are provided on their website.

curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo apt-key add - 
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

sudo apt-get update && sudo apt-get install spotify-client

or if you are using snap:

snap install spotify

Commands found here: https://www.spotify.com/de/download/linux/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .