Announcements
The Spotify Stars Program: Celebrating Values Week!

Help Wizard

Step 1

NEXT STEP

Unable to install on ubuntu 15.04 for hash sum mismatch

Solved!

Unable to install on ubuntu 15.04 for hash sum mismatch

Hi,

 

I just installed ubuntu 15.04, was following https://www.spotify.com/us/download/previews/ and after adding the key and the repo to sources.list apt-get says:

 

W: Failed to fetch http://repository.spotify.com/dists/stable/non-free/binary-amd64/Packages  Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.

and apt-get install spotify-client does not find the package

 sudo apt-get install spotify-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package spotify-client

Any clue in how to fix this ?

Reply
26 Replies

It still doesn't work for me on Peppermint 6. I have a 32 bit machine, and got the hash sum error and then Unable to Locate Spotify error. Anyone looking into this?

Same thing on Super X distro 32 bits

Same problem.

Ubuntu 15.04 for 32bit on Thinkpad L440.

PLEASE HELP!!!


@vampolo wrote:

I've found a solution since spotify people seems to take way more than necessary to fix their own deb repo.

 

First of all get spotify package, it is http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.17.1.g9b85d43.7-1_amd64.deb

Then get libgcrypt11, it is on debian from http://security.debian.org/debian-security/pool/updates/main/libg/libgcrypt11/libgcrypt11_1.5.0-5+de...

 

Install both packages with dpkg -i package.deb or double clicking on them.

 

Whoila' you have spotify. cheers!


THANK YOU, GREAT INFORMATION!

 

Finally a Spotify on Linux, newest one for my familiar (my old laptop).

 

So easy to install!

 

Kind regards and have a nice day!!!

I have a GUI-friendly fix for people who are running Ubuntu 15.04 64-bit. If you have followed the instructions given by https://www.spotify.com/us/download/linux/ and your Spotify client doesn't start (and this is because the client in the stable distribution relies on libgcrypt11, which is upgraded to libgcrypt20 in Ubuntu 15.04), read on. On your distro, look for "Software & Updates" and go to the "Other Software" tab. You'll find a line that says "http://repository.spotify.com stable non-free". Click on it and then the "Edit" button. In the "Distribution" box, change "stable" to "testing". Close all boxes and now search for "Software Updater" on your distro and check for updates. You should see an update for your Spotify client. Proceed to update with caution. When I upgraded, I encountered a couple of errors but they did not appear to crash my distro nor impair my Spotify client. The Facebook login may fail on first try, but it should work after a few tries (I don't know why this happens, but it is probably related to libgcrypt20 if I have to guess). I have not tried to reproduce these errors, so follow these instructions with caution!

links are not working for me

Go up a level and you can see the parent folder. The version numbers have changed which is why the links 404. You can view all available files at http://repository-origin.spotify.com/pool/non-free/s/spotify/ and http://security.debian.org/debian-security/pool/updates/main/libg/libgcrypt11/. Good luck!

Suggested posts