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, 2015 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. Apr 24, 2015 at 6:23
  • To the close voters: Ubuntu 15.04 has been released and is on-topic now...
    – Fabby
    Apr 25, 2015 at 17:55
  • Happened to me as well on 15.04
    – Ryan Stull
    Aug 1, 2015 at 18:56

5 Answers 5

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
  • 1
    Thanks raverrebel. I followed your steps for the PC & clvx for my laptop. Both methods work. Thanks all!
    – IndianArt
    Apr 25, 2015 at 23:02
  • 1
    I get 404 not found. Same on all the mirrors at ubuntu packages
    – doug65536
    Oct 19, 2015 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, 2015 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, 2015 at 23:34
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) Apr 24, 2015 at 5:49
  • 1
    It is also the libgcrypt11-dev version in the repositories. That worked for me Apr 24, 2015 at 8:23
  • Thanks. How do you 'remove any spotify ppa's'?
    – IndianArt
    Apr 24, 2015 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, 2015 at 20:37
  • 2
    Spotify app is so much better than their webplayer. Thanks again.
    – IndianArt
    Apr 25, 2015 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. Feb 5, 2016 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 .