Jump to content

Debian 9 x86 missing dependencies


cghouly

Recommended Posts

I have been working on a solution to get emby-server installed on my small living room computer. It is an x86 machine

root@debian:/home/user# uname -a
Linux debian 4.9.0-4-686-pae #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) i686 GNU/Linux

I have added the repo from here, and tried installing from the install instruction from the main downloads page for linux. Both ways complain about unmet dependencies.

root@debian:/home/user# apt-get install emby-server
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:
 emby-server : Depends: mono-runtime (>= 3.0~) but it is not going to be installed
               Depends: libmono-corlib4.5-cil (>= 4.0.0~alpha1) but it is not going to be installed
               Depends: libmono-microsoft-csharp4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-configuration4.0-cil (>= 4.0.0~alpha1) but it is not going to be installed
               Depends: libmono-system-core4.0-cil (>= 4.0.0~alpha1) but it is not going to be installed
               Depends: libmono-system-net-http4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-runtime-serialization4.0-cil (>= 4.0.0~alpha1) but it is not going to be installed
               Depends: libmono-system-xml4.0-cil (>= 3.12.0) but it is not going to be installed
               Depends: libmono-system4.0-cil (>= 4.0.0~alpha1) but it is not going to be installed
               Depends: libembysqlite3-0 but it is not installable
               Depends: embymagick but it is not installable
               Depends: mono-devel (>= 4.6) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I confirmed the mono packages are installable. My main concern is the two packages that are not installable (libembysqlite3-0 and embymagick). Looking at the repo I notice that they are both missing.

 

I searched both packages in https://build.opensuse.org and found libembysqlite3-0 and embymagick. Unfortunately embymagic build failed for x86_64 for debian 9.

 

I am at a loss on how to proceed. Any way x86_64 builds for Debian 9 can be fixed in the repo?

Link to comment
Share on other sites

HI, sadly, we might not have an option for you right now. All of our development is currently focused on the new .NET core runtime from Microsoft. We are no longer doing any new development on these older mono-based packages. Unfortunately, Microsoft is not providing a .NET Core runtime for linux x86, so as a result I don't have much of an answer for you. The entire industry is pretty much abandoning linux x86 at this point.

 

These mono-based packages do still work fine for x64, but along the way something may have happened that may have impacted x86 support. It's just something that doesn't get a whole lot of testing because there aren't many users running it.

 

You might be able to get this to work by installing sqlite and imagemagick 6.x, but I'm afraid I can't promise whether that will work or not.

Link to comment
Share on other sites

ramanvda

:o

I'm exactly in the same situation as cghouly: I'm trying to install emby-server on debian 9.3 x86 on a recycled PC.

 

I spended my week end to configure OMV 4 on this machine and the final point was to install emby-server...... :mellow: I'm disappointed....

 

How to install sqlite and imagemagick 6.x please? I'm ready to test that on my machine.

Link to comment
Share on other sites

:o

I'm exactly in the same situation as cghouly: I'm trying to install emby-server on debian 9.3 x86 on a recycled PC.

 

I spended my week end to configure OMV 4 on this machine and the final point was to install emby-server...... :mellow: I'm disappointed....

 

How to install sqlite and imagemagick 6.x please? I'm ready to test that on my machine.

 

First i would suggest trying to install the package and see if it just works.

Link to comment
Share on other sites

Just how old are these pc's that you guys are using? hardware based x64 has been around for several decades. In fact for a very long time Microsoft was the only OS that used x86 when linux flavors were already supporting x64.

I normally wouldnt suggest a whole new OS install, but these days most things are moving towards x64.

Link to comment
Share on other sites

ramanvda

Hi,

 

It's not a OS issue, it's a CPU issue in fact.

My CPU is a Pentium 4 @2Ghz only 32 bits instructions. 

 

My machine run like a charm with this CPU. I use openmediavault and my power consumption is enough low with 55 watts.

For sure, it's an old PC from 2002 or somthing like that but it does the job!

 

The cost for this old PC is 0 $/€/£ so why purchase an expensive x64 bits architecture to run a nas?

 

I have installed sqlite and imagemagick with no errors messages. What is the next step, please?

I have already tried apt-get install emby-server but impossible to install.

 

Please help.

Link to comment
Share on other sites

Hi,

 

It's not a OS issue, it's a CPU issue in fact.

My CPU is a Pentium 4 @2Ghz only 32 bits instructions. 

 

My machine run like a charm with this CPU. I use openmediavault and my power consumption is enough low with 55 watts.

For sure, it's an old PC from 2002 or somthing like that but it does the job!

 

The cost for this old PC is 0 $/€/£ so why purchase an expensive x64 bits architecture to run a nas?

 

I have installed sqlite and imagemagick with no errors messages. What is the next step, please?

I have already tried apt-get install emby-server but impossible to install.

 

Please help.

 

Please provide the terminal output from the installation. Thanks.

Link to comment
Share on other sites

ramanvda
Sorry it's in french...

 



apt install emby-server
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :
emby-server : Dépend: mono-runtime (>= 3.0~) mais ne sera pas installé
Dépend: libmono-corlib4.5-cil (>= 4.0.0~alpha1) mais ne sera pas installé
Dépend: libmono-microsoft-csharp4.0-cil (>= 1.0) mais ne sera pas installé
Dépend: libmono-system-configuration4.0-cil (>= 4.0.0~alpha1) mais ne sera pas installé
Dépend: libmono-system-core4.0-cil (>= 4.0.0~alpha1) mais ne sera pas installé
Dépend: libmono-system-net-http4.0-cil (>= 1.0) mais ne sera pas installé
Dépend: libmono-system-runtime-serialization4.0-cil (>= 4.0.0~alpha1) mais ne sera pas installé
Dépend: libmono-system-xml4.0-cil (>= 3.12.0) mais ne sera pas installé
Dépend: libmono-system4.0-cil (>= 4.0.0~alpha1) mais ne sera pas installé
Dépend: libembysqlite3-0 mais il n'est pas installable
Dépend: embymagick mais il n'est pas installable
Dépend: mono-devel (>= 4.6) mais ne sera pas installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».


Link to comment
Share on other sites

If you want to use the older emby you will need to install mono. If you are familiar with or dont mind experimenting and using beta builds there is a netcore build that might work also, i only ever tried the netcore build on a rpi3 so i cant speak to if it would work on your system or not.

Anyway as far as mono goes my suggestion is this.

go to /etc/apt/sources.list.d

sudo nano mono.list 

add this line: 

deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.8.1 main

then ctrl x to exit and be sure to save.

then sudo apt-get update

This might complain about a public key and honestly i forget how to resolve it, i always end up googling it.

After that you should be able to install mono with just sudo apt-get install mono-devl 

After that I am not sure if the embymagic requirement will be meet or not but at least it will be shorter for requirements.

Link to comment
Share on other sites

dcrdev

If you want to use the older emby you will need to install mono. If you are familiar with or dont mind experimenting and using beta builds there is a netcore build that might work also, i only ever tried the netcore build on a rpi3 so i cant speak to if it would work on your system or not.

Anyway as far as mono goes my suggestion is this.

go to /etc/apt/sources.list.d

sudo nano mono.list 

add this line: 

deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.8.1 main

then ctrl x to exit and be sure to save.

then sudo apt-get update

This might complain about a public key and honestly i forget how to resolve it, i always end up googling it.

After that you should be able to install mono with just sudo apt-get install mono-devl 

After that I am not sure if the embymagic requirement will be meet or not but at least it will be shorter for requirements.

 

That wont solve this issue - the package has a hard dependency on embymagick, which is just imagemagick - but the package was created to solve compatibility issues between versions by allowing it to be installed alongside imagemagick.

 

You'll need to modify the package yourself, install manually or ignore dependencies (which will cause warning messages all the time) .

 

I question how running this is more cost effective than say running a raspberry pi, considering neither will really be able to handle transcoding and a raspberry pi typicall consumes less than 4w.

Link to comment
Share on other sites

Thank you all for your answers. Thank you Luke I understand this issue now. It is an older machine that was re-purposed and I'm trying to squeeze the most out of it. At this point I think I'll give up on trying to get Emby to work for this machine. I don't want to spend too much time on this if the codebase if shifting anyways. I'll wait until I can replace it with a newer machine.

 

I like the idea dcrdev brought up about running Emby on a raspberry pi. How well does it run without transcoding? Does it have issues with HD files or with particular clients?

Link to comment
Share on other sites

Thank you all for your answers. Thank you Luke I understand this issue now. It is an older machine that was re-purposed and I'm trying to squeeze the most out of it. At this point I think I'll give up on trying to get Emby to work for this machine. I don't want to spend too much time on this if the codebase if shifting anyways. I'll wait until I can replace it with a newer machine.

 

I like the idea dcrdev brought up about running Emby on a raspberry pi. How well does it run without transcoding? Does it have issues with HD files or with particular clients?

I used to run emby on a rpi3 myself with some of the older builds and with the .net core build. I was able to actually get some transcoding to run smooth with a custom compiled ffmpeg on SD tv channels. I do not expect you to have many issues direct playing even to a few clients, the big bottleneck on the rpi will be its network interface. I am not honestly sure if its better wired or wireless but an external drive is a great idea the read write ability of the rpi to a microsd card is terrible.

Link to comment
Share on other sites

Also if i remember correctly emby now puts out a .deb that i believe works with raspbian so installing emby on a rpi3 should be very easy.

Link to comment
Share on other sites

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...