Spotify has become an indispensable tool in the daily lives of many users, including me. I spend about ten hours a day using the service – needless to say, I’m a user premium-, basically while I work, but also when I have to go out on the street to do my daily errands.
I said it in our article on how to install Ubuntu MAT 15.05: I can not live without Spotify, like many Linux users around the world, but now to have it on Linux those who have long we used we encountered a small problem. This little evil comes motivated by the expiration of trust certificates on Linux, which returned me a message that the package was not secure from the terminal. If that’s also your case don’t worry, as we’re going to show you how to update Spotify trust certificate in Ubuntu, And by the way to do a clean installation if you do not have the program.
How to update Spotify GPG key
per update Spotify GPG key we have to proceed in a somewhat special way. 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
No need to re-add the repository; all we have done is update the key. With that in mind all we have left is to resynchronize the list so that the GPG key is up to date.
How to install Spotify from scratch
per to install Spotify from scratch the steps we need 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 that would be enough, there should be no more problem to have Spotify installed on Ubuntu with the updated key. Another method you can try in case the solution we gave you in the first place doesn’t work for you – for me if it served me – is uninstall the program and remove the repositories to do a clean install of Spotify. Your user data should not be lost when uninstalling, so everything should remain in place when you reinstall.
Tell us your experience if you follow these steps in the comments.