Problem installing mopidy-spotify on Raspbian Wheezy


I have a problem when install mopidy-spotify

I start with a new image (raspian 2015-05-05)

And then install mopidy with apt-get

But when i try to install mopidy-spotify i get this:

pi@raspberrypi ~ $ sudo apt-get install mopidy-spotify
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mopidy-spotify : Depends: python-spotify (>= 2.0.2) but it is not going to be installed
              Depends: python:any (< 2.8) but it is not installable
              Depends: python:any (>= 2.7.5-5~) but it is not installable
E: Unable to correct problems, you have held broken packages.

Any Idea how to solve this ???

Andreas H

I’m guessing that you’re on Raspbian Wheezy, right?

wheezy is now the “oldstable” version of Debian/Raspbian, while “jessie” is the new stable as of April. has packages for both wheezy and jessie. The default if you follow the instructions in the docs is to get the packages for “stable” (aka jessie). To get the packages for wheezy instead, you just need to:

  1. Edit /etc/apt/sources.list.d/mopidy.list and replace all occurrences of “stable” with “wheezy”:
    sudo sed -i -e 's/stable/wheezy/' /etc/apt/sources.list.d/mopidy.list
  2. Run sudo apt-get update
  3. Run sudo apt-get install mopidy-spotify

You are absolutely right.
Took for granted that the latest raspian run “jessie” :frowning:

Thanks for the help