Help Wizard

Step 1

NEXT STEP

Can't install Spotify under Ubuntu.

Can't install Spotify under Ubuntu.

I followed the official installation guide and I did:

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

 

But I receive these error messages:

 

W: GPG error: http://repository.spotify.com stable InRelease: The following signatures could not be verified because the public key is not available: NO_PUBKEY D1742AD60D811D58
E: The repository "http://repository.spotify.com stable InRelease" is not signed.
N: Updating from this repository cannot be performed safely and is therefore disabled by default.
N: Please refer to the apt-secure(8) man page for repository creation and user configuration.

Reply
3 Replies

See the following post:

https://community.spotify.com/t5/Desktop-Linux/Problem-Installing-Spotify-on-Ubuntu-18-04/td-p/45728...

 

Run this command before the update and install commands:

Example (going off your error code):

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D1742AD60D811D58

 Then update:

Sudo apt-get update

Finally, try to install the spotify client:

Sudo apt-get install spotify-client

 

2021 followed this steps and other steps and ended up at a wall anyone else with a solution couldn't find one on Quora as well

Add the current key with the following, then update and install

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 5E3C45D7B312C643

 

Suggested posts