Jump to content

Dependency Errors Installing emby-sever on Ubuntu 14.04 LTS 64-bit


Recommended Posts

ValhallaStar
Posted

I resigned myself to reinstalling Ubuntu after constant system errors. However, now Emby Server won't install due to issues with dependancies. Honeslty, I rarely deal with Linux (hence why I decided to have a Linux box in the house), so unfortunatly I still need steps explained to me at a basic level.

 

Here's the errors I'm getting (as reported by Synaptic Package Manager):

 

 

Could not mark all packages for installation or upgrade

The following packages have unresolvable dependencies. Make sure that all required repositories are added and enabled in the preferences.

emby-server:
 Depends: mono-devel but it is not going to be installed
  Depends: lsb-base (>=4.1+Debian11ubuntu7) but 4.1+Debian11ubuntu6 is to be installed
 Depends: sqlite3

mono-devel:
  Depends: libglib2.0-0 (>=2.42.0) but 2.40.2-0ubuntu1 is to be installed
  Breaks: libmono-accessibility2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-cairo2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-cscompmgd8.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-data-tds2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-i18n-west2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-ldap2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-management2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-messaging-rabbitmq2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-messaging2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-microsoft-build2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-microsoft8.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-npgsql2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-npgsql4.0-cil (<4.0.0~alpha1-0~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-oracle2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-peapi2.0a-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-posix2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-rabbitmq2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-relaxng2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-security2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-sharpzip2.84-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-simd2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-sqlite2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-system-data-services2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-system-data2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-system-json2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-system-ldap2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-system-messaging2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-system-net2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-webbrowser2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-windowsbase3.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed
  Breaks: libmono-xbuild-tasks2.0-cil (<4.0.1~) but 3.2.8+dfsg-4ubuntu1.1 is to be installed

 

 

BTW - the Ubuntu reinstall preserved files in the home directory and apparently upgraded from 32-bit to 64-bit. (I don't remember installing 32-bit originally; I'm sure I had a reason at the time)

 

Thanks for your time!

Posted

Try "sudo apt-get update" before trying to install the server and see if that helps.  

ValhallaStar
Posted

Unfortunatly, tried that and it didn't help. So in that vein, I checked my repository settings. The only restriction I have on my repositories is it doesn't get pre-released updates.

 

I managed to manually install some of the dependencies it was complaining about, but I'm still unable to get the versions emby requires for:

 

libglib2.0-0 (>=2.42.0) but 2.40.2-0ubuntu1 is to be installed

lsb-base (>=4.1+Debian11ubuntu7) but 4.1+Debian11ubuntu6 is to be installed

 

The repository claims I have the latest versions installed. I have some questions I'm going to Google now: Should I independantly download and install the versions I need? Why are the latest versions not showing in the offical repositories?

Thanks for getting me on the right track of inquiry! My brain was fried yesterday.

ValhallaStar
Posted

whelp, turns out the reason the latest pkg versions aren't in the official repository is because the newer versions aren't supported by the LTS version of Ubuntu. I've tried to work around this, but it's proving an arduous process.

 

tl;dr version:

Emby won't install on Ubuntu 14.04 LTS.

Posted

whelp, turns out the reason the latest pkg versions aren't in the official repository is because the newer versions aren't supported by the LTS version of Ubuntu. I've tried to work around this, but it's proving an arduous process.

 

tl;dr version:

Emby won't install on Ubuntu 14.04 LTS.

 

I don't think this is completelly correct as many people have Emby installed on Ubuntu 14.04 as you can see in: http://emby.media/community/index.php?/topic/24311-ubuntu-1404-emby-server-daemon-fail/

So this may be a problem with your setup.

 

How did you get into this situation? Fresh install of 14.04 and then fresh install Emby? Was it an upgrade?

Posted

 

Emby won't install on Ubuntu 14.04 LTS.

Yes it does, this is the output from own setup;

 

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
 
file /sbin/init
/sbin/init: ELF 64-bit LSB  
 
Personally if this was me I would do a purge and autoremove and start the process all over as it sounds as if something has gone wrong.
 
I also assume that the repositories and install guide on the website page are still good.
 
To do that from a terminal Ctrl-T sudo apt-get --purge remove emby-server (this will uninstall Emby and any config files) then sudo apt-get autoremove this should remove any dependencies.
 
Open Synaptic, go into settings repositories and remove anything relating to Emby...this maybe under the ppa option where the sources list can be viewed, close Synaptic.
 
This should have removed all reference to Emby.
 
Open a terminal and follow the instructions on the web page you can copy and paste each line into the terminal window, substitute {Repository} for xUbuntu_14.04 in each instance.
 
This should work, if it does, do not apply any updates (there are about 140+) as there are some issues with scripts, I  have ignored these on my setup until a new server release is posted.
 
BTW, I am still a newbie, both to Linux and Emby but this is what I would risk doing, but there are some very helpful guys on here that are far more knowledgeable than I am, and this is not my system.
 
Good luck, hope you get it sorted. :)
  • 1 month later...
Posted

I just had this problem so I figured I'd share.

I had mistakenly added the wrong deb repository (for 14.10 instead of 14.04) This is most likely the cause.

 

I do realise the thread is a couple of months old, but it might just help someone later. :-)

ValhallaStar
Posted

It's very possible I fudged up and put in the wrong version number. However, once flushing all things emby like geaves suggested, it worked. It even works better now than it did in the past! (I also ended up switching to the latest version of Ubuntu - for some reason my system is just finicky)

onamission21
Posted

I made the same mistake! If you have these dependency issues then you most likely added a repository for the wrong version. I was able to remove the repository in synaptic, then purged/removed using the same commands that geaves provided. Once I used the correct version number everything worked like it was supposed to.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...