Recent linux client update changes

Reply

Recent linux client update changes

meahtenoha
Spotify
Spotify

Hi there!

 

We have a quick update for Linux users. 

 

We recently updated the signing key for Linux client upgrades. Linux users on recent version shouldn't notice anything--but users on older versions will need to manually add the new key.

 
Adding the key is as easy as performing step 1 described at https://www.spotify.com/se/download/linux/.
 

At that link you can find a build of Spotify for Linux. We are running this ourselves and we will try to make sure it keeps pace with its Mac and Windows siblings. However, this version is unsupported. You can tell us what you think and ask other users for help at The Spotify Community.

 

Spotify for Linux is released as a Debian package. Our aim is that it should work with the latest Long Term Support release of Ubuntu, but we will try to make it work for other releases of Ubuntu and Debian as well.

57 Replies

i0otc_-fifr6
Newbie

I want to thank the dev team for continuing Linux support. Great work, everything works well on Debian Buster running KDE 🙂

Ash44092
Casual Listener

I am using UBUNTU 16.04 LTS on a 32 bit system and the app package link is NOT active. Please advise on what I need to do to install the app instead of using the web browser.

DanielE-D
Casual Listener

Spotify is available in 16.04 as a snap. Look in the Ubuntu Software application.

Ash44092
Casual Listener

I found a way with ALOT of command line typing. No GUI or easy app installation was accessable but like I said, ALOT of command line typing from the Linux forum did the trick. Just type it PERFECTLY. Works like a charm. I REALLY am happy I took the time to find a way to install it on this system. CHEERS to my good brother & sisters of rock & roll and ALL music fans. I LOVE MUSIC!!

 

Look for my play list at:

https://open.spotify.com/user/ashlyquin123/playlist/7kVLR5fNSt4YcEC6qqPNn3?si=aQAPdiu2QBC3kfkDKsf4sQ

 

JSJB
Music Fan

"Spotify is available in 16.04 as a snap. Look in the Ubuntu Software application."

 

The problem is only the 64 bit version with libcurl4 is available as a snap. The 32 bit (i386 architecture) is not.

 

I got around this by creating my own spotify-client debian package, which combines the spotify-client from the distribution, the libcurl3 shared library and a script that prepends that libcurl3 to LD_LIBRARY_PATH before starting up spotify. 

 

That works perfectly  and no longer depends on spotify recompiling with libcurl4:

 

=> apt-cache policy spotify-client
spotify-client:
  Installed: 1:1.0.72.117.g6bd7cc73-35-js
  Candidate: 1:1.0.72.117.g6bd7cc73-35-js
  Version table:
 *** 1:1.0.72.117.g6bd7cc73-35-js 400
        400 copy:/usr3/Installs/DEB ./ Packages
        100 /var/lib/dpkg/status
     1:1.0.72.117.g6bd7cc73-35 500
        500 http://repository.spotify.com stable/non-free i386 Packages
        500 http://repository.spotify.com testing/non-free i386 Packages

Ash44092
Casual Listener

Snap didn't work for me. I tried using the software installer also but it doesnt even show in there. Thank you for your input on this!! Spotify on Ubuntu 16.04 works great so far.

 

Here is the system I am running:

Intel Core 2 Duo CPU @ 2.33GHz x 2

4GB Ram

(Its a Dell flat Opltiplex)

32bit OS UBUNTU 16.04

 

Now, to get Spotiify to run as an App vs using the web browser, this is what I did.

I used xTerm and typed:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90

 then

echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

 then

sudo apt-get update

 then

sudo apt-get install spotify-client

That's what I typed from the Spotify for Linux page because its debian based. Hope this helps some one out there. Good Brother Ash----OUT

DenisBY
Newbie

It seems key is expired again:

Err http://repository.spotify.com stable InRelease
  The following signatures were invalid: KEYEXPIRED 1532522191
Fetched 125 kB in 2s (54,0 kB/s)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repository.spotify.com stable InRelease: The following signatures were invalid: KEYEXPIRED 1532522191
W: Failed to fetch http://repository.spotify.com/dists/stable/InRelease: The following signatures were invalid: KEYEXPIRED 1532522191
W: Some index files failed to download. They have been ignored, or old ones used instead.

Vanadyel
Casual Listener

Has the key changed again ?

JSJB
Music Fan

@Ash44092 wrote:

32bit OS UBUNTU 16.04

 

Now, to get Spotiify to run as an App vs using the web browser, this is what I did.

I used xTerm and typed:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90

 then

echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

 then

sudo apt-get update

 then

sudo apt-get install spotify-client

That's what I typed from the Spotify for Linux page because its debian based. Hope this helps some one out there. Good Brother Ash----OUT


This is quite obvious for how to setup spotify-client on a 32 bit debian-based linux system.

 

The real problem is:   the spotify-client package requires the libcurl3 shared library from the libcurl3 package. This package has been obsoleted by the libcurl4 package, which is not compatible with libcurl3. So, if you keep spotify-client, you cannot install libcurl4, which will prevent hundreds of other packages from being upgraded to their newest version.

 

The ideal solution would be to have a spotify-client built with libcurl4; this is available for 64 bit linux as a testing package but there is no version for 32 bit linux.

 

The alternative I used on my 32 bit system was to create a new spotify-client package, starting with the original spotify-client, adding to it the contents of libcurl3 (but in a special directory) and running spotify via a script that prepends that libcurl3 to LD_LIBRARY_PATH.

 

This allowed my 32 bit system to run spotify  AND  upgrade all the packages that need the latest libcurl4 shared library.

DaveMellor
Music Fan
No! Sorry but this overblown security system invented by programmers with
too much time on their hands defeats me!

I don't know what they think they are protecting (their reputations
probably) but most of it is **bleep**.

But let me know how you get on. Sorry I can't help.

Dave

capricorn86
Casual Listener

Thanks for the great work! Works perfectly for me.

briardew
Newbie

Could you please provide an install option for people that aren't superusers?

The recent web-browser "upgrades" require a system upgrad I cannot make, and I can't install the player w/o superuser privledges.  So I cannot listen to Spotify on this machine, where I spend a majority of my time.  If this isn't fixed, I'll have to cancel my account.

notrabbitears
Casual Listener
If it's a work computer, I'd recommend just talking to your sysadmin because it's most likely going to be preferable to not run outdated software on your machine. If it's a personal computer, ask whoever has root privileges for your machine?

JSJB
Music Fan

If you download the debian package to a directory you own on that machine, you can unpack the contents with:

ar xv spotify-client_....deb

There will be a /usr/bin directory under there with the script that launches spotify.

Adjust the paths, if needed, to work relative to your directory instead of / and you should be able to run this version of spotify for yourself, without installing globally.

Denis_Leger
Newbie

Please note that in your new version, the HiDPI fix should be applied to a different desktop file.

The file file which needs to be amended is now: /usr/local/share/applications/spotify.desktop

Instead of:

/usr/share/applications/spotify.desktop

 

The fix in the file remains the same:

add: --force-device-scale-factor=x to the Exec line of the file, where x is the scaling factor.

Exec=spotify --force-device-scale-factor=2 %U

Thank you for supporting Spotify for Linux,

DarkAvenger36
Casual Listener

This issue is still present on Linux client: https://community.spotify.com/t5/Ongoing-Issues/Desktop-Podcast-shortcut-gone-in-ver-1-0-94-262-g3d5...

 

When will the updated version be released?

dnsglk
Newbie

Thanks for a hint. I just downloaded http://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.94.262.g3d5c2...

and there is only ELF which works out of box, even w/o tweaking paths.

 

Peace

RJVB
Regular

Somehow that version was pushed through my apt update channel only yesterday. On Ubuntu 14.04 it crashes immediately.

 

I managed to the spotify snap on my system (and then uninstall snapd, systemd and cgroup stuff to get my system to boot normally again 😠 ).

 

I can run the version from the snap against the system libraries so it looks like the official .deb package just has a glitch somewhere (or doesn't yet have a patch which is already present in the snap version).

tokkopako
Regular

Could you elaborate how to do this or maybe provide the package? I'm currently trying to get spotify working on i386 machine.

capricorn86
Casual Listener

I would also like to say my thanks. I would not be using Spotify if it wasn't for the great Linux support. Keep up the good work!

SUGGESTED POSTS