# Unmet dependencies and broken packages

**URL:** <https://discourse.mopidy.com/t/unmet-dependencies-and-broken-packages/1508>\
**Category:** Misc\
**Created:** [February 12, 2017, 9:31pm UTC](https://discourse.mopidy.com/t/unmet-dependencies-and-broken-packages/1508 "2017-02-12T21:31:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zelaf](https://avatars.discourse-cdn.com/v4/letter/z/4af34b/32.png) [@Zelaf](https://discourse.mopidy.com/u/Zelaf)\
**Post date:** [February 12, 2017, 9:31pm UTC](https://discourse.mopidy.com/t/unmet-dependencies-and-broken-packages/1508/1 "2017-02-12T21:31:03Z")

</div>

Hello, I’m trying to install Mopidy on my Raspberry Pi B+. I added the mopidy source like the guide told me to do and when I try to run

> sudo apt install mopidy

I get the following output

> pi@raspberrypi:/etc/apt $ sudo apt install mopidy  
> 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 : Depends: gir1.2-gst-plugins-base-1.0 but it is not installable  
> Depends: gir1.2-gstreamer-1.0 but it is not installable  
> Depends: gstreamer1.0-plugins-good but it is not installable  
> Depends: gstreamer1.0-plugins-ugly but it is not installable  
> Depends: python-gst-1.0 but it is not installable  
> Depends: python-tornado (\>= 2.3) but it is not going to be installed  
> Depends: python-pkg-resources but it is not installable  
> Depends: python-pykka but it is not going to be installed  
> Depends: python-requests but it is not installable  
> Recommends: gstreamer1.0-alsa but it is not installable  
> Recommends: gstreamer1.0-pulseaudio but it is not installable  
> Recommends: gstreamer1.0-tools but it is not installable  
> E: Unable to correct problems, you have held broken packages.

I tried googling around but I can’t find much, I also did a search on here and didn’t find anything either.

Thanks for any help.

EDIT: Here’s my sources,

> pi@raspberrypi:/etc/apt $ cat sources.list
> 
> > #Mopidy APT archive  
> > #Built on Debian 8 (jessie), compatible with Ubuntu 14.04 LTS and 15.04  
> > deb [http://apt.mopidy.com/](http://apt.mopidy.com/) jessie main contrib non-free  
> > deb-src [http://apt.mopidy.com/](http://apt.mopidy.com/) jessie main contrib non-free

As far as I know, this should be right.

---

<div class="post-metadata">

**Author:** ![Steve\_Lambert](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/steve_lambert/32/1149_2.png) [@Steve\_Lambert](https://discourse.mopidy.com/u/Steve_Lambert)\
**Post date:** [February 12, 2017, 10:01pm UTC](https://discourse.mopidy.com/t/unmet-dependencies-and-broken-packages/1508/2 "2017-02-12T22:01:01Z")

</div>

Did you follow [instructions](https://docs.mopidy.com/en/latest/installation/debian/)

sudo apt-get update  
sudo apt-get install mopidy

or do

> [@Zelaf](#):
>
> sudo apt install mopidy

---

<div class="post-metadata">

**Author:** ![Zelaf](https://avatars.discourse-cdn.com/v4/letter/z/4af34b/32.png) [@Zelaf](https://discourse.mopidy.com/u/Zelaf)\
**Post date:** [February 12, 2017, 10:02pm UTC](https://discourse.mopidy.com/t/unmet-dependencies-and-broken-packages/1508/3 "2017-02-12T22:02:19Z")

</div>

I did update it, and apt-get and apt do the same thing.

---

<div class="post-metadata">

**Author:** ![Steve\_Lambert](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/steve_lambert/32/1149_2.png) [@Steve\_Lambert](https://discourse.mopidy.com/u/Steve_Lambert)\
**Post date:** [February 12, 2017, 10:09pm UTC](https://discourse.mopidy.com/t/unmet-dependencies-and-broken-packages/1508/4 "2017-02-12T22:09:05Z")

</div>

OK, can’t be much more help then I’m afraid, I didn’t realise they did the same so have always used apt-get and it’s installed fine on numerous cards - good luck.

---

<div class="post-metadata">

**Author:** ![Zelaf](https://avatars.discourse-cdn.com/v4/letter/z/4af34b/32.png) [@Zelaf](https://discourse.mopidy.com/u/Zelaf)\
**Post date:** [February 12, 2017, 10:10pm UTC](https://discourse.mopidy.com/t/unmet-dependencies-and-broken-packages/1508/5 "2017-02-12T22:10:13Z")

</div>

I appreciate you trying to help me 🙂

Hopefully someone will be able to help.

@Steve_Lambert [https://www.maketecheasier.com/apt-vs-apt-get-ubuntu/](https://www.maketecheasier.com/apt-vs-apt-get-ubuntu/)

---

<div class="post-metadata">

**Author:** ![Steve\_Lambert](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/steve_lambert/32/1149_2.png) [@Steve\_Lambert](https://discourse.mopidy.com/u/Steve_Lambert)\
**Post date:** [February 13, 2017, 9:06pm UTC](https://discourse.mopidy.com/t/unmet-dependencies-and-broken-packages/1508/6 "2017-02-13T21:06:34Z")

</div>

> [@Zelaf](#):
>
> /etc/apt $ cat sources.list

Thanks for the link - I’ve just done a fresh install on jessie lite using just apt and it installed fine - even a nice progress bar 🙂 Hope you get some help with yours.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [February 13, 2017, 9:40pm UTC](https://discourse.mopidy.com/t/unmet-dependencies-and-broken-packages/1508/7 "2017-02-13T21:40:15Z")

</div>

Are you running a recent version of raspbian or a really old version based on wheezy?

---

<div class="post-metadata">

**Author:** ![Zelaf](https://avatars.discourse-cdn.com/v4/letter/z/4af34b/32.png) [@Zelaf](https://discourse.mopidy.com/u/Zelaf)\
**Post date:** [February 14, 2017, 10:46am UTC](https://discourse.mopidy.com/t/unmet-dependencies-and-broken-packages/1508/8 "2017-02-14T10:46:05Z")

</div>

I were running the latest version of Raspbian Jessie Light, but I gave up on the project shortly after.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [February 14, 2017, 11:17am UTC](https://discourse.mopidy.com/t/unmet-dependencies-and-broken-packages/1508/9 "2017-02-14T11:17:25Z")

</div>

I regularly install Mopidy on Raspbian exactly using the steps in our docs without issue.

Google shows [https://github.com/mopidy/mopidy/issues/1489](https://github.com/mopidy/mopidy/issues/1489) which sounds a lot like your problem. For anyone else that lands here, check your APT sources:

- `cat /etc/apt/sources.list`

```auto
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi

```

- `cat /etc/apt/sources.list.d/raspi.list`

```auto
deb http://archive.raspberrypi.org/debian/ jessie main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ jessie main ui

```

- `cat /etc/apt/sources.list.d/mopidy.list`

```auto
# Mopidy APT archive
# Built on Debian 8 (jessie), compatible with Ubuntu 14.04 LTS and 15.04
deb http://apt.mopidy.com/ jessie main contrib non-free
deb-src http://apt.mopidy.com/ jessie main contrib non-free

```

- `apt-cache showpkg gir1.2-gst-plugins-base-1.0`

```auto
Package: gir1.2-gst-plugins-base-1.0
Versions: 
1.4.4-2 (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages
                  MD5: 1c3b9ff935990198956b8c00dd1b7da8

```
