I installed the latest Ubuntu today, 15.04. Spotify has stopped working. How can it be made to work again?

The Unity bar flashes green 4 or 5 times and then stops flashing. There are no error messages. It was installed successfully and played well on 14.10 till the upgrade a few hours ago. It just does not appear on the screen.

share|improve this question

closed as unclear what you're asking by Eric Carvalho, v2r, A.B., guntbert, Amith KK Apr 27 '15 at 4:58

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

    
Eliah the Unity bar flashes green 4 or 5 times and then stops flashing. There are no error messages. It was installed successfully & played well on 14.10 till the upgrade a few hours ago. It just does not appear on the screen. – IndianArt Apr 24 '15 at 1:10
1  
Please edit your question, if you want to add information. It's best to have everything relevant in one place. Also, comments may be deleted for various reasons. – David Foerster Apr 24 '15 at 6:23
    
To the close voters: Ubuntu 15.04 has been released and is on-topic now... – Fabby Apr 25 '15 at 17:55
    
Happened to me as well on 15.04 – Ryan Stull Aug 1 '15 at 18:56
up vote 23 down vote accepted

There is a tutorial so you can fix it (beneath reinstalling). Just execute these two commands, it worked for me:

$ wget http://security.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.4-2ubuntu1.1_amd64.deb
$ sudo dpkg -i libgcrypt11_1.5.4-2ubuntu1.1_amd64.deb

Link to the source/tutorial: http://dgzen.pw/2015/04/21/installing-spotify-in-ubuntu-15-04/

share|improve this answer
1  
Thanks raverrebel. I followed your steps for the PC & clvx for my laptop. Both methods work. Thanks all! – IndianArt Apr 25 '15 at 23:02
    
Worked for me too! Thanks – Ryan Stull Aug 1 '15 at 18:57
1  
I get 404 not found. Same on all the mirrors at ubuntu packages – doug65536 Oct 19 '15 at 9:55
    
The ubuntu packages work for me. Try: Rightclick the links and choose "Save Target as" or similar (depending on Browser). – Saturiel Oct 20 '15 at 12:20
2  
You can use this link to download the file and install from there: launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/‌​… – AndyFaizan Nov 9 '15 at 23:34

Before doing the next steps, remove any Spotify ppa's.

Install the Spotify ppa:

sudo apt-add-repository -y "deb http://repository.spotify.com stable non-free" && sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59 && sudo apt-get update -qq && sudo apt-get install spotify-client

Then install the following:

wget http://ftp.au.debian.org/debian/pool/main/libg/libgcrypt11/libgcrypt11_1.5.0-5+deb7u2_amd64.deb

sudo dpkg -i libgcrypt11_1.5.0-5+deb7u2_amd64.deb

Enjoy!

share|improve this answer
    
This works perfect for me, +1 for actually working (another post I read didn't work, just crashed the login shell) – zwork Apr 24 '15 at 5:49
1  
It is also the libgcrypt11-dev version in the repositories. That worked for me – fernando garcía Apr 24 '15 at 8:23
    
Thanks. How do you 'remove any spotify ppa's'? – IndianArt Apr 24 '15 at 14:34
    
Go to unity dash - ubuntu software center - Edit - Software Sources - Other Software Tab, there you can disable any type of ppa's – clvx Apr 24 '15 at 20:37
2  
Spotify app is so much better than their webplayer. Thanks again. – IndianArt Apr 25 '15 at 1:42

This worked for me:

wget http://security.debian.org/debian-security/pool/updates/main/libg/libgcrypt11/libgcrypt11_1.5.0-5+deb7u3_amd64.deb

sudo dpkg -i libgcrypt11_1.5.0-5+deb7u3_amd64.deb

source: http://www.burakgon.com/2015/04/how-to-fix-error-while-loading-shared-libraries-libgcrypt-so-11-cannot-open-shared-object-file-error-on-ubuntu-15-04/

share|improve this answer

Installing libgcrypt11 is said to involve security issues (see this Spotify forum post which links to this NVD page). As mentioned in the Spotify forum post linked above, it's probably better to use the testing version of the Spotify client, available for download on this repository-origin.spotify.com page. It's not ideal either, but probably the best option.

share|improve this answer
    
I use that version (spotify-client_1.0.19.106.gb8a7150f_amd64.deb ) with fully updated Ubuntu Gnome 15.10 and it works perfectly. – Ohto Nordberg Feb 5 '16 at 18:50

Your version of Spotify uses a library called libgcrypt11 which was replaced in Ubuntu 15.04 by libgcrypt20. A version of Spotify that doesn't require libgcrypt11 is available in the testing repository. That is the Spotify that eventually (after it has been tested and any serious bugs have been fixed) will replace the one from the stable repository you have now.

Edit your software sources to change the Spotify repository from stable to testing and then update your Spotify client. Some things will be different from before, for better or worse, but at least it starts.

share|improve this answer

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