Spotify has become an indispensable tool in the day to day of many users, including me. On average I spend about ten hours a day using the service - needless to say, I am a user premium- mainly while I am working, but also when I have to go outside to run my daily errands.
I already said it in our article about how to install Ubuntu MATE 15.05: I can't live without Spotify, like many Linux users around the world, but now to have it on Linux those of us who have used it for a while have run into a little problem. This little evil is motivated by the expiration of trusted certificates on Linux, which returned a message that the package was not secure from the terminal. If this is also your case, do not worry, since we are going to show you how to update Spotify trust certificate in Ubuntu, and incidentally to do a clean installation if you do not have the program.
How to update Spotify GPG key
For update Spotify GPG key we have to proceed a bit special. We open a terminal and enter the following command:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886 sudo apt-get update
It will not be necessary to add the repository again; all we have done is update the key. With that in mind the only thing left for us is to resychronize the list so that the GPG key is up to date.
How to install Spotify from scratch
For install Spotify from scratch the steps we have to follow are very simple. To do this we open a terminal and execute the following commands:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886 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
And with this it would be enough, there should be no problem to have Spotify installed on Ubuntu with the updated key. Another method that you can try in case the solution we gave you in the first place does not work for you - it worked for me - is uninstall the program and delete the repositories to do a clean install of Spotify. Your user data shouldn't be lost when you uninstall, so everything should stay in place when you reinstall.
Tell us about your experience if you follow these steps in the comments.
GREAT !!!!!!!! After I had updated Linux MInt 17.1, I had not been able to install more Spotify, I was using the web player but it is not the same. And today following these steps I managed to install it again, and also I could install it on 2 other PCs that have Ubuntu 14.04, where I could not install it either.
Thank you!!!!!!!!!!!!
I still have the problem I have Elementary Os LUna of x64 and I can not open spotify I get this error
spotify: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
I can't install spotify, it asks me for a gpg key and I can't write anything.
To update the gpg key you have to open a terminal and put the commands above.
Hello. I have a problem with Spotify: it won't open. I have wanted to reinstall it, repair it, etc, and I have not been able to. I get the following message:
E: Entry 1 incorrectly specified in list file /etc/apt/sources.list.d/spotify.list (Component)
E: The font lists could not be read.
I hope you can help me. Thanks
hi, i have a problem that says it couldn't locate the spotify-client package