# Problem installing mopidy-spotify on Raspbian Wheezy

**URL:** <https://discourse.mopidy.com/t/problem-installing-mopidy-spotify-on-raspbian-wheezy/844>\
**Category:** Misc\
**Created:** [August 20, 2015, 7:11am UTC](https://discourse.mopidy.com/t/problem-installing-mopidy-spotify-on-raspbian-wheezy/844 "2015-08-20T07:11:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreas\_Henriksson](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@Andreas\_Henriksson](https://discourse.mopidy.com/u/Andreas_Henriksson)\
**Post date:** [August 20, 2015, 7:11am UTC](https://discourse.mopidy.com/t/problem-installing-mopidy-spotify-on-raspbian-wheezy/844/1 "2015-08-20T07:11:55Z")

</div>

Helllo

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

---

<div class="post-metadata">

**Author:** ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2564_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)\
**Post date:** [August 20, 2015, 7:52am UTC](https://discourse.mopidy.com/t/problem-installing-mopidy-spotify-on-raspbian-wheezy/844/2 "2015-08-20T07:52:38Z")

</div>

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.

[apt.mopidy.com](http://apt.mopidy.com) 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`

---

<div class="post-metadata">

**Author:** ![Andreas\_Henriksson](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@Andreas\_Henriksson](https://discourse.mopidy.com/u/Andreas_Henriksson)\
**Post date:** [August 20, 2015, 8:31am UTC](https://discourse.mopidy.com/t/problem-installing-mopidy-spotify-on-raspbian-wheezy/844/3 "2015-08-20T08:31:03Z")

</div>

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

Thanks for the help
