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.
See the following post:
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
Sudo apt-get update
Finally, try to install the spotify client:
Sudo apt-get install spotify-client
Add the current key with the following, then update and install
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 5E3C45D7B312C643
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game…