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.

Eliah Kagan
  • 116,445
  • 54
  • 318
  • 493
IndianArt
  • 369
  • 1
  • 6
  • 13
  • 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 01: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 06: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 01 '15 at 18:56

5 Answers5

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/

Saturiel
  • 389
  • 3
  • 12
  • 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
  • 1
    I get 404 not found. Same on all the mirrors at [ubuntu packages](http://packages.ubuntu.com/utopic-updates/amd64/libgcrypt11/download) – doug65536 Oct 19 '15 at 09: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: https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/7110687/+files/libgcrypt11_1.5.4-2ubuntu1.1_amd64.deb – AndyFaizan Nov 09 '15 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!

hg8
  • 13,410
  • 12
  • 71
  • 103
clvx
  • 201
  • 1
  • 6
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/

dwaynemac
  • 463
  • 5
  • 9
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.

bartovan
  • 690
  • 8
  • 17
  • 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 05 '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.

Grammargeek
  • 2,762
  • 2
  • 14
  • 24
Snurolss
  • 11
  • 1