Whenever I try to install something (including Spotify) I get the same error:

E: GPG error: http://repository.spotify.com trusty InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

This is actually appears to be an issue with Spotify's repository. Per following thread there is a DNS redirect that is breaking things.


There is a temp fix describe in the thread that has worked for several people (myself included):

In terminal

sudo add-apt-repository -r "deb http://repository.spotify.com stable non-free"
sudo add-apt-repository "deb  http://repository-origin.spotify.com stable non-free"
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
sudo apt-get upgrade

The link in your /etc/apt/sources.list does not seem to be what the people at spotify are recommending. The following is from https://www.spotify.com/us/download/previews/.

Open a terminal window by typing ctrl+alt+t then type

gksudo gedit /etc/apt/sources.list

Find the line which looks like

http://repository.spotify.com trusty InRelease

Delete the whole line

Now add the line

deb http://repository.spotify.com stable non-free

Exit and save the changes to /etc/apt/sources.list

In the terminal (which is still open) enter the commands

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 94558F59
sudo apt-get update
sudo apt-get install spotify-client

Note that this is a 'linux preview' version of spotify and may not be entirely stable. Spotify also suggests that you might try spotify for wine.

  • so what am I supposed to do? – onesadlittleboy Jul 3 '14 at 19:36
  • @user158049 I'll modify my prior answer – Charles Green Jul 3 '14 at 19:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.