$ spotify
spotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
$
A recent update depends on libgcrypt11 but debian only has libgcrypt20. Is there a solution to this? Or can I revert somehow?
I am currently running:
Thank you.
The new version mentioned above works great! Thanks, MarcosC for linking the new package.
For those wishing to make the switch, you can try the following.
sudo apt-get purge spotify-client sudo apt-get autoremove
sudo add-apt-repository --remove 'deb http://repository.spotify.com stable non-free'
sudo apt-get update wget http://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.7.153.gb9e8174a_amd64.deb sudo dpkg -i spotify-client_1.0.7.153.gb9e8174a_amd64.deb spotify &
You're also definitely going to want to get rid of libgcrypt11_1.5.0 unless you wish to enjoy being potentially vulnerable to attacks described here: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-5270
Finally some movement!
Thanks for the update MarcosC
equaint:
Apt repositories exist so you can upgrade your installed software when there is an upgrade path available - without doing any manual steps (other than the upgrade call). This isn't windows. Learn to use your distribution package manager!
just edit your /etc/apt/sources.list from stable to testing
remove the app, then install it with apt-get install spotify-client.
It should even work with apt-get upgrade without removing it but I didn't try it since I had it uninstalled already.
Works without libgcrypt11 though the app only works in fullscreen mode for me. No windowing, or menus for it either. still better though than running unsafe libs 🙂
It is missing the echo command. The correct sequence of commands is
sudo apt-get purge spotify-client sudo apt-get autoremove sudo add-apt-repository --remove 'deb http://repository.spotify.com stable non-free' sudo echo deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list sudo apt-get update sudo apt-get install spotify-client
Thank you again to Asile for found this solution! it works!
I guess asking for the i386 version is asking too much 😞
There is version 0.9.4.183.g644e24e.428-1 for i386 in the repository repository.spotify.com
spotify-client_0.9.4.183.g644e24e.428-1_i386.deb
For me the solution found in this blog post did the trick (Ubuntu 15.04) (resolving the libgcrypt11 issue):
"To fix the issue, just download and install the package from the repository of Ubuntu 14.04 LTS.
The solution posted by MarcOS (install the testing version from http://repository-origin.spotify.com/pool/non-free/s/spotify-client/) works for me (although it gives a "experienced an internal error" window, but it doesn't seem to affect functioning)...
Hi,
On a fresh debian jessie install, I experienced the same problem so I changed source to "testing" and upgraded spotify-client package.
However, I was still getting an error about libcurl.so.4 missing, and managed to fix it by installing "libcurl4-openssl-dev" (maybe "libcurl3" alone was enough.)
Still, it would be great to have a fully functionnal package in the stable repository, with all dependicies mentionned.
Regards,
Thanks man! Works for me 😉
A way that might be better (depending on whether you are ready to stay on the testing version of spotify all along or not) is to replace the lines in the code before of MarcosOS:
wget http://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.7.153.gb9e8174a_amd64.deb sudo dpkg -i spotify-client_1.0.7.153.gb9e8174a_amd64.deb
By these one:
deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list sudo apt-get update sudo apt-get install spotify-client
The version of spotify I ended up with is a little newer:1.0.15.137
The previous solution is most likely not working anymore because the testing version has been updated and thus the 1.0.7.153 has just been removed from the repository.
It will also automatically update spotify when the testing version is updated.
The whole code is thus the following:
sudo apt-get purge spotify-client sudo apt-get autoremove sudo add-apt-repository --remove 'deb http://repository.spotify.com stable non-free' deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list sudo apt-get update sudo apt-get install spotify-client spotify &
The first two lines might even be useless, but I have not tested.
@Asile
Thanks for the lines, but theres somthing that not right. The command
sudo add-apt-repository --remove 'deb http://repository.spotify.com stable non-free' deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list
Gets broken up in two lines, and returns a error* saying the second deb are a command line it self. removing the 'enter' doens't work either.
Could you be please persuaded the review it again, i'm not not vwery skilled at those repository things.
Also there now a file called 'spotify.list' in /etc/apt/sources.list.d/ containing the txt "Error: need a single repository as argument"
But that probartly my messing arround to much. 😉
*
deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list
No command 'deb' found, did you mean:
Command 'debc' from package 'devscripts' (main)
Command 'derb' from package 'icu-devtools' (main)
Command 'xdeb' from package 'xdeb' (universe)
Command 'debi' from package 'devscripts' (main)
Command 'deb3' from package 'quilt' (main)
Command 'dwb' from package 'dwb' (universe)
Command 'dex' from package 'dex' (universe)
Command 'dab' from package 'bsdgames' (universe)
deb: command not found
It is missing the echo command. The correct sequence of commands is
sudo apt-get purge spotify-client sudo apt-get autoremove sudo add-apt-repository --remove 'deb http://repository.spotify.com stable non-free' sudo echo deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list sudo apt-get update sudo apt-get install spotify-client
Thank you again to Asile for found this solution! it works!
@JnewbieD Thank you, I struggled some but could not get i fixed, but your 'echo' fixed it.
And along the way my new Chromacast Audio got delivered, and i almost just cancelled my Spotify subscription.
The desktop client doesn't support Chromacast Audio so unless you have the android app running on you phone so it can pipe it that way, your out of luck.
@Csschsu - Can you cast to 'Chromecast Audio' direcly from spotify-client desktop client without having spotify running at your phone?
Thanks a lot JnewbieD! It worked like a charm 🙂
@JnewbieD wrote:sudo apt-get purge spotify-client sudo apt-get autoremove sudo add-apt-repository --remove 'deb http://repository.spotify.com stable non-free' sudo echo deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list sudo apt-get update sudo apt-get install spotify-client
Thank you for the solution community!
On my system (Debian 3.16.7-ckt11-1+deb8u3) add-apt-repository was not available. I had to install it. I did it this way:
sudo apt-get install apt-file
apt-file search add-apt-repositoryThis returned:
software-properties-common: /usr/bin/add-apt-repository software-properties-common: /usr/share/man/man1/add-apt-repository.1.gz
sudo apt-get install software-properties-common
Finally I could continue with line #3 of the code quoted above. At the end I had spotify running!
Hope it helps in case add-apt-repository is not available on your system.
Works fine on Debian GNU/Linux 8.3 (jessie), missing package xdg-utils but i installed this and works! nice works guys
@JnewbieD wrote:It is missing the echo command. The correct sequence of commands is
sudo apt-get purge spotify-client sudo apt-get autoremove sudo add-apt-repository --remove 'deb http://repository.spotify.com stable non-free' sudo echo deb http://repository.spotify.com testing non-free | sudo tee /etc/apt/sources.list.d/spotify.list sudo apt-get update sudo apt-get install spotify-client
Thank you again to Asile for found this solution! it works!
Thank you for the reply.
I came up with a similar solution: I downloaded the libgcrypt11 library for Debian Wheezy and installed it via
Now Spotify works again. However, this should only be treated as a temporary solution, as the upcoming Debian release Jessie will not ship the old version of the library and it generally not a good approach to manually install packages from another (and soon outdated) release.