Help Wizard

Step 1

NEXT STEP

Spotify 0.9.11 for GNU/Linux

Solved!

Spotify 0.9.11 for GNU/Linux

Hi, fellow penguin fans!

 

Today we've pushed version 0.9.11.26 of the Linux desktop client to our public repo. Just update your system!

 

General release notes: http://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Release-Notes-Spotify-for-Desktop-0-9-11/...

 

Linux specific changes:

 

 - collectionCache.bnk is no longer written to $HOME

 

Known issues:

 

 - It still doesn't work to drag from an HTML5 view to a legacy view (such as the sidebar).

 - On first start, the HTML5 views may not appear (just empty black views), try restarting the app if it happens

 - Some users have reported problems with the new track change notifications. If you experience problems, you can start the client with "spotify --ui.track_notifications_enabled=false", or you can edit the file called ~/.config/spotify/Users/<your-spotify-username>-user/prefs and add a line with "ui.track_notifications_enabled=false". Sorry for not having this option available in the UI.

 - No 32-bit build is available

 - This build is not compatible with debian squeeze or wheezy

 

If you don't already have the Linux client installed, install like this:

 

# 1. Add our repository. As root or with sudo, create
#    a file called /etc/apt/sources.list.d/spotify.list and add
#    "deb http://repository.spotify.com/stable non-free" to it.
#    Here's a one-liner:
sudo sh -c 'echo "deb http://repository.spotify.com/stable non-free" > /etc/apt/sources.list.d/spotify.list'
 
# 2. If you want to verify the downloaded packages,
#    you will need to add our public key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
 
# 3. Run apt-get update
sudo apt-get update
 
# 4. Install spotify!
sudo apt-get install spotify-client
 
You don't have a debian based system? Well, it's still possible to get things running. Either you convert the debian package to something else using alien, or you can just download and extract the stuff you need from the package. There is no need to install the client, it can be run from anywhere.
 
# 1. Get the right filename
SPOTIFY_DEB=http://repository-origin.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.11.26.g995ec04.78-1_`uname -m | sed s/x86_64/amd64/ | sed s/i686/i386/`.deb
 
# 2. Download the package
wget repository.spotify.com/pool/non-free/s/spotify/$SPOTIFY_DEB
 
# 3. Extract the required parts
ar p $SPOTIFY_DEB data.tar.gz | tar -zx --strip-components=3 ./opt/spotify/spotify-client
 
# 4. Go in to the extracted folder
cd spotify-client
 
# 5. Setup symlinks to libs (NOTE: this script assumes Fedora 17, edit to suit your needs)
./linklibs-fedora.sh
 
# 6. Optionally register icons and menu item
#    Note: for the menu item to work, you need to ensure
#    spotify is in your $PATH, either by symlinking
#    it from /usr/bin or /usr/local/bin, or by adding
#    the spotify-client folder to your $PATH
./register.sh
 

 

Reply
368 Replies

Have update the sources list, but getting this now

 

Ign http://dl.google.com stable/main Translation-en
100% [28 InRelease gpgv 50.2 kB] [Waiting for headers] [Waiting for headers] [WSplitting up /var/lib/apt/lists/partial/repository-origin.spotify.com_dists_stablIgn http://repository-origin.spotify.com stable InRelease
E: GPG error: http://repository-origin.spotify.com stable InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

It might be you need to first clear your cached lists.

 

1: First make sure you only have the URL with the -origin in your spotify.list in the /etc/apt/sources.list.d/ directory.

2: Clear your cached lists: sudo rm /var/lib/apt/lists/* -vf

3: Update your package lists: sudo apt-get update

4: Update your package: sudo apt-get upgrade

 

Good luck!

Same fix as described works on LinuxLite also.

 

I did uncheck the source-code boxes on both the Ubuntu and LL machines just to keep that out of the mix.

that works for me too, thanks.

Hi there,

 

I'm using Ubuntu 14.04, but have an old version of Spotify running...

Somehow, the only version available in the repo, is 0.9.4.183.g644e24e0...

 

Already tried clearing cache, removing and re-installing and switching repo between the "repository" and "repository-origin", but without effect...

 

APT-line: deb http://repository-origin.spotify.com stable non-free

 

Even tried disabling all other sources, to see if there was another repo jamming the version...

 

Someone who can help me get 0.9.11?

@rannyakuza: Worked for me! Thanks a lot!

Hmmm....

 

On the Ubuntu box I did the following first:

 

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

 

It stil threw an error, but that let me get to the repo list through synaptic instead of directly editing the file.

 

LinuxLite was a bit more forgiving and let me in through apt after throwing the error.

 

I had the same trouble. First of all I didn't have a spotify.list file, but I had this line in my /etc/apt/sources.list:

 

deb http://repository.spotify.com stable non-free

 

I commented it and followed rannyakuza's instrucctions (I created the spotify.list file)

 

Hope that helps!

The repository is broken:

 

E: Couldn't rebuild package cache
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_i18n_Translation-en%5fUS
E: The package lists or status file could not be parsed or opened.

Current status: 0 updates [-11], 0 new [-12051].
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_i18n_Translation-en%5fUS
E: The package lists or status file could not be parsed or opened.

 

It started to happen today ...

repository is down, nginx 403

I fixed this by going into Software Sources and removing the Auth Key I had added for it, that seems to have been my problem. Though I was able to install it in the first place so I am not sure why it changed. And I am not using the modifiyed address with the -origin.

Yes, it's a temporary solution, which let you to update and upgrade other packages, than spotify.

error in my terminal:

 

Czytanie list pakietów... Błąd!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_i18n_Translation-pl%5fPL
E: Nie udało się otworzyć lub zanalizować zawartości list pakietów.
adrian@adrian-laptop:~$ Traceback (most recent call last):
  File "/usr/share/appgrid/appdata.py", line 229, in <module>
    rebuild_db()
  File "/usr/share/appgrid/appdata.py", line 119, in rebuild_db
    from appdata.apps.aptapp import AptApp, all_apt_pkgnames
  File "/usr/share/appgrid/appdata/apps/aptapp.py", line 10, in <module>
    cache = Cache()
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 107, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 151, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_i18n_Translation-pl%5fPL, E:Nie udało się otworzyć lub zanalizować zawartości list pakietów.

Same here. Without the key is working.

1. Go to software sources and find spotify line

2.  Modify to http://repository-origin.spotify.com stable non-free

- in both cases repository and source code

In terminal:

3. sudo rm /var/lib/apt/lists/* -vf
4. sudo apt-get update

5. sudo apt-get upgrade

6. Works with auth key.

Tried the above mentioned solutions, but the error remains

 

Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_i18n_Translation-en%5fUS
E: The package lists or status file could not be parsed or opened.

Any other solutions..?

Marked as solution

Remove the spotify repository from software sources , then add spotify source with origin in name

 

In terminal

sudo add-apt-repository -r "deb http://repository.spotify.com stable non-free"

sudo add-apt-repository "deb  http://repository-origin.spotify.com stable non-free"

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

sudo apt-get upgrade

 

Let me know does it work for you.

 

Cool, works for me!

Just going to confirm that http://repository-origin.spotify.com repository indeed works as of now.


@rannyakuza wrote:

Hmm, this seems to be because of an erronuous http/dns redirect. As a workaround, place the following in /etc/apt/sources.list.d/spotify.list:

 

deb http://repository-origin.spotify.com stable non-free


This URL does not have the spotify-redirect-to-our-homepage-because-i-dont-know-why-argh redirect rule, therefore apt-get will work. After Spotify fixes this, you should be able to change the apt-get URL above back to its default (ie. without -origin in the URL).


Thanks, that worked for me last night!

Suggested posts