11

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.

4
  • 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
23

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/

4
8

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!

5
  • This works perfect for me, +1 for actually working (another post I read didn't work, just crashed the login shell) – captainGeech Apr 24 '15 at 5:49
  • 1
    It is also the libgcrypt11-dev version in the repositories. That worked for me – Fernando García Redondo 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
3

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/

2

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.

1
  • 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
1

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.

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