Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

A while ago Spotify (the streaming music service) came out with a preview for Linux of their client. I had succesfully run it throughout 10.04.

Now I'm on 10.10, I can't seem to find it in the package manager, let alone install it.

Software Sources gives me this;

Failed to fetch http://repository.spotify.com/dists/stable/Release
Unable to find expected entry  non-free/source/Sources in Meta-index file (malformed Release file?)
Some index files failed to download, they have been ignored, or old ones used instead.

So what should I do, as I'm paying for Spotify?

share|improve this question
    
Yup, I'm aware :) I've seen a screenshot of someone running the native spotify client, however I can't even get the repository to work correctly :( –  blackn1ght Apr 10 '11 at 21:00
    
+1 for making me aware there's actually a native Linux version of Spotify! –  Jonik Nov 6 '11 at 19:58
3  
Note: The Linux client for Spotify only works if you have a premium account. This is because they have not found a way to reliably display ads. –  Anonymous Nov 6 '11 at 21:05

4 Answers 4

up vote 17 down vote accepted

I installed it yesterday fine. The error you're getting is it's trying to get the source version (which doesn't exist). Just edit your sources using: sudoedit /etc/apt/sources.list

And make sure you've got something like this:

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

The second (deb-src) line is commented. Make sure yours is and then run a sudo apt-get update. You shouldn't get any errors.

Make sure the key is installed (doesn't sound like your problem):

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4E9CFF4E

And then install it:

sudo apt-get install spotify-client-qt spotify-client-gnome-support
share|improve this answer
    
I've done that, but whilst I'm not getting the error anymore, I'm not getting the packages :/ –  Dante Ashton Oct 15 '10 at 14:08
    
I tell a lie, my terminal seemingly has concussion and has now installed the packages :D –  Dante Ashton Oct 15 '10 at 14:09
    
no command found deb 11.04 any help? –  schwiz Jul 26 '11 at 23:27
1  
@scwiz That's not a command, it's supposed to be a line in the file /etc/apt/sources.list –  Oli Jul 27 '11 at 8:26
    
Edited this to use apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4E9CFF4E as in the official instructions. (The gpg commands didn't work for me; apparently wwwkeys.de.pgp.net didn't respond.) –  Jonik Nov 8 '11 at 13:43

Sure thing, i'm listening to it as i write this! Define this source for Apt

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

Then your usual apt update routine (GUI tools like Software Center do this for you), and install the packages spotify-client-qt and spotify-client-gnome-support. Sometimes it's a little buggy and eats loads of CPU, or doesn't draw it's main window at startup, but in general it works great.

There has been several mentions of Spotify over at OMG Ubuntu.

share|improve this answer
    
I've tried that, but this is what I get: Failed to fetch repository.spotify.com/dists/stable/Release Unable to find expected entry 'non-free/source/Sources' in Release file (Wrong sources.list entry or malformed file) Some index files failed to download. They have been ignored, or old ones used instead. –  blackn1ght Apr 10 '11 at 20:58
    
I can navigate to repository.spotify.com/dists/stable/non-free/binary-i386 and apt fetches the file successfully with "apt-get download spotify-client-qt". You're not trying to use a source repo, are you? –  Mace Apr 10 '11 at 21:04
2  
Solved! When I was adding the repo, the software sources was automatically adding a "source" line as well, which isn't in the Releases file in dists/stable, so it was failing. I've removed that line and now it's working :) –  blackn1ght Apr 10 '11 at 21:11
    
Awesome, i'm happy to hear it! :) –  Mace Apr 10 '11 at 21:17
    
what to do now i am new do u have a step by step introduction cheers would be awsome thank u –  user16290 May 3 '11 at 17:19

This should help you obtain the Spotify Linux preview:

http://www.spotify.com/uk/download/previews/

However, If I remember correctly the Linux preview doesn't actually do much and doesn't actually function. Spotify currently recommends you install the Windows version through Wine:

This documentation from Spotify should help you:

http://www.spotify.com/uk/help/faq/wine/

Good luck.

share|improve this answer

If you are still having trouble, what I ended up doing that worked was removing all instances in my software and sources of spotify repositories. From there I just re-added the repository by clicking add and then typing in deb http://repository.spotify.com stable non-free. I refreshed the window, opened up terminal, typed

sudo apt-get update 
sudo apt-get install spotify-client

and everything worked just fine

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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