Install Fails - Unmet Dependencies

Sonarr version (exact version): 3.0.10.1566
Mono version (if Sonarr is not running on Windows):
OS: Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-1038-raspi armv7l)
Debug logs: Install Failed - No log written
Description of issue:
Attempted install per Sonarr Linux Installation | Servarr Wiki. Install failed with the message:

The following packages have unmet dependencies:
libmono-corlib4.5-cil : Depends: mono-runtime (>= 6.12.0.200) but 6.12.0.147-0xamarin17+ubuntu2004b1 is to be installed
libmono-i18n4.0-cil : Depends: mono-runtime (>= 6.12.0.200) but 6.12.0.147-0xamarin17+ubuntu2004b1 is to be installed
libmono-system-configuration4.0-cil : Depends: mono-runtime (>= 6.12.0.200) but 6.12.0.147-0xamarin17+ubuntu2004b1 is to be installed
libmono-system-core4.0-cil : Depends: mono-runtime-common (>= 6.12.0.200) but 6.12.0.147-0xamarin17+ubuntu2004b1 is to be installed
libmono-system-io-compression4.0-cil : Depends: mono-runtime-common (>= 6.12.0.200) but 6.12.0.147-0xamarin17+ubuntu2004b1 is to be installed
libmono-system-web4.0-cil : Depends: mono-runtime (>= 6.12.0.200) but 6.12.0.147-0xamarin17+ubuntu2004b1 is to be installed
libmono-system4.0-cil : Depends: mono-runtime (>= 6.12.0.200) but 6.12.0.147-0xamarin17+ubuntu2004b1 is to be installed
Depends: mono-runtime-common (>= 6.12.0.200) but 6.12.0.147-0xamarin17+ubuntu2004b1 is to be installed
mono-runtime-common : Depends: mono-gac (= 6.12.0.147-0xamarin17+ubuntu2004b1) but it is not going to be installed
Recommends: binfmt-support (>= 1.1.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

That is strange. I was going to suggest you manually install Mono from their website but they are saying the latest stable release is :

The latest Stable Mono release is: 6.12.0 Stable (6.12.0.199)

The dependency check says you need to be greater than or equal to 6.12.0.200 so that is not going to work either. If you want you could try it and see what happens…

I run Sonarr in docker and I just checked to see what version of mono the container is running (with docker the containers look after dependencies such as mono)…

root@e7ef36f024e8:/# mono --version
Mono JIT compiler version 6.12.0.200 (tarball Tue Jul 11 21:37:50 UTC 2023)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug 
        Interpreter:   yes
        LLVM:          yes(610)
        Suspend:       hybrid
        GC:            sgen (concurrent by default)

Tried that procedure but no joy.

It failed at sudo apt install mono-devel, with pretty much the same problem:

The following packages have unmet dependencies:
mono-devel : Depends: mono-runtime (>= 3.0~) but it is not going to be installed
Depends: libmono-cecil-private-cil (>= 6.12.0.200) but it is not going to be installed
Depends: libmono-cecil-private-cil (< 6.12.0.201) but it is not going to be installed
Depends: libmono-codecontracts4.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-compilerservices-symbolwriter4.0-cil (>= 3.6.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-peapi4.0a-cil (>= 3.2.8) but it is not going to be installed
Depends: libmono-relaxng4.0-cil (>= 2.10.1) but it is not going to be installed
Depends: libmono-security4.0-cil (>= 3.0.6) but it is not going to be installed
Depends: libmono-system-configuration-install4.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-data4.0-cil (>= 4.0.0~alpha1) but it is not going to be installed
Depends: libmono-system-drawing4.0-cil (>= 3.0.6) but it is not going to be installed
Depends: libmono-system-io-compression-filesystem4.0-cil (>= 3.2.1) 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-runtime4.0-cil (>= 2.10.1) but it is not going to be installed
Depends: libmono-system-security4.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-system-servicemodel4.0a-cil (>= 3.2.3) but it is not going to be installed
Depends: libmono-system-web-services4.0-cil (>= 1.0) but it is not going to be installed
Depends: libmono-system-xml-linq4.0-cil (>= 3.0.6) 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: mono-mcs (= 6.12.0.200-0xamarin2+ubuntu2004b1) but it is not going to be installed
Depends: mono-roslyn (= 6.12.0.200-0xamarin2+ubuntu2004b1) but it is not going to be installed
Depends: mono-gac (= 6.12.0.200-0xamarin2+ubuntu2004b1) but it is not going to be installed
Depends: mono-xbuild (= 6.12.0.200-0xamarin2+ubuntu2004b1) but it is not going to be installed
Depends: libmono-cil-dev (= 6.12.0.200-0xamarin2+ubuntu2004b1) but it is not going to be installed
Depends: libmono-2.0-dev (>= 6.12.0.200-0xamarin2+ubuntu2004b1) but 6.12.0.147-0xamarin17+ubuntu2004b1 is to be installed
Depends: ca-certificates-mono (= 6.12.0.200-0xamarin2+ubuntu2004b1) but it is not going to be installed
Recommends: mono-csharp-shell but it is not going to be installed
Recommends: referenceassemblies-pcl but it is not going to be installed
Recommends: msbuild but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I’ll ask around some of the Mono discussions and report back here if I find a solution. It is a bit worrisome that the “official” Mono install process still uses the deprecated apt-key.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.