Mono 3.12 update

My system just updated to mono 3.12 on ubuntu

getting init: nzbdrone main process (3293) killed by ABRT signal

off to work so can’t dig in to much, so this is just fyi that YMMV on the update

Good luck and will check in later.

Made the same mistake of updating :confused:

Problem is, they remove the 3.10 package from the Fedora repo, the oldest one they kept is 3.6, which when downgraded to throws http-something-something errors on start.

sorry this not in pastebin, hope its short enough. If able to add anything further will post pastebin links

david@nzbdrone:/opt/NzbDrone$ exec mono --debug NzbDrone.exe
[Info] Bootstrap: Starting NzbDrone - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.2629

  • Assertion at processes.c:2595, condition `mp’ not met

Stacktrace:

at <0xffffffff>
at (wrapper managed-to-native) System.Diagnostics.Process.ExitCode_internal (intptr) <IL 0x0000d, 0xffffffff>
at System.Diagnostics.Process.get_HasExited () <IL 0x00026, 0x00033>
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.get_HasExited () <IL 0x00038, 0xffffffff>
at NzbDrone.Common.Processes.ProcessProvider.ConvertToProcessInfo (System.Diagnostics.Process) [0x00044] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Processes\ProcessProvider.cs:264
at NzbDrone.Common.Processes.ProcessProvider.GetCurrentProcess () [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Processes\ProcessProvider.cs:46
at NzbDrone.Common.Processes.PidFileProvider.Write () [0x0001e] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Processes\PidFileProvider.cs:36
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext,NzbDrone.Host.IUserAlert,System.Action`1<NzbDrone.Common.Composition.IContainer>) [0x0005a] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Host\Bootstrap.cs:34
at NzbDrone.Console.ConsoleApp.Main (string[]) [0x0000f] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Console\ConsoleApp.cs:20
at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>

Native stacktrace:

mono() [0x4accac]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f112a0fc340]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7f1129d5ccc9]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f1129d600d8]
mono() [0x6232f9]
mono() [0x623507]
mono() [0x623656]
mono() [0x6010d6]
mono() [0x6030b6]
mono() [0x57972e]
[0x41593d35]

Debug info from gdb:

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

Connection to nzbdrone closed.

This is a bit of a “me too” post, but I’m getting exactly what Davlaw posted, except for minor variations in the stacktrace, looks like. I’ve also had pretty much zero luck getting 3.12.0 uninstalled, and installing 3.10.0 because I can’t seem to find a package for it anywhere.

Running on Debian Wheezy with the 3.16 backports kernel.

Its a bug and fixed in their master branch now: https://bugzilla.xamarin.com/show_bug.cgi?id=25720

Not sure why they even released it…

Thanks! Thanks! (10 char limit, hehe)

Thank you for the information.

Xamarin has it’s own repos for RHEL, Fedora, etc. (http://www.mono-project.com/docs/getting-started/install/linux/#centos-fedora-and-derivatives), is it possible to use their repos instead of the OpenSuSe ones linked to in the wiki (https://github.com/Sonarr/Sonarr/wiki/Fedora-20)?

Can I use this: http://download.mono-project.com/repo/centos/
instead of this: http://download.opensuse.org/repositories/home:/tpokorra:/mono/

EDIT: Ok i just went for it:

yum remove mono-opt

rm /etc/yum.repos.d/mono.repo

Installed Xamarin repo + key (http://www.mono-project.com/docs/getting-started/install/linux/#centos-fedora-and-derivatives)

yum install mono-complete-3.10.0

Change path in /usr/lib/systemd/system/sonarr.service:
/opt/mono/bin/mono
to
/usr/bin/mono

systemctl daemon-reload

systemctl start sonarr.service

works!

Again this is for Fedora 21, changing the community repo to the Xamarin repo which still has a 3.10.0 package.

3.12.0 came from their repo… in my case debian

pulling from github the current master (I hope), not one of my better skill-sets, but I’m trying. But really should be putting in more effort to get it back to 3.10

Well mono master is now at 3.99, Mono Version 3.99.0 (master/ae3b35a Wed Jan 14 19:04:51 EST 2015)

Sonarr running… Guess we’ll see what happens looks like mono 4.0 is around the corner.

But 3.12.0 is a no go for sure.

Mono 3.99 is just their placeholder so no one gets confused about where it came from. I think we have a viable fix for the issue, should know later tonight.

Hi,

I can’t install sonarr on my ubuntu anymore.

I had it installed and working, but some time ago the system wanted to update mono, but it couldn’t as nzbdrone was conflicting.

So to fix the conflict I uninstalled nzbdrone and mono. And now I can’t install nzbdrone anymore:

The following packages have unmet dependencies:
nzbdrone : Depends: libmono-cil-dev (>= 3.2) but it is not going to be installed

sudo apt-get install mono-runtime shows this:

The following NEW packages will be installed:
cli-common libmono-corlib4.5-cil libmono-i18n-west4.0-cil
libmono-i18n4.0-cil libmono-security4.0-cil
libmono-system-configuration4.0-cil libmono-system-security4.0-cil
libmono-system-xml4.0-cil libmono-system4.0-cil mono-4.0-gac mono-gac
mono-runtime mono-runtime-common mono-runtime-sgen

How can I fix this?

Thanks.

Here’s the mono install log:

Do you want to continue [Y/n]?
Selecting previously unselected package cli-common.
(Reading database … 557734 files and directories currently installed.)
Unpacking cli-common (from …/cli-common_0.9~xamarin1_all.deb) …
Selecting previously unselected package libmono-system-xml4.0-cil.
Unpacking libmono-system-xml4.0-cil (from …/libmono-system-xml4.0-cil_3.10.0-0xamarin2_all.deb) …
Selecting previously unselected package libmono-system-security4.0-cil.
Unpacking libmono-system-security4.0-cil (from …/libmono-system-security4.0-cil_3.10.0-0xamarin2_all.deb) …
Selecting previously unselected package libmono-system-configuration4.0-cil.
Unpacking libmono-system-configuration4.0-cil (from …/libmono-system-configuration4.0-cil_3.10.0-0xamarin2_all.deb) …
Selecting previously unselected package libmono-system4.0-cil.
Unpacking libmono-system4.0-cil (from …/libmono-system4.0-cil_3.10.0-0xamarin2_all.deb) …
Selecting previously unselected package libmono-security4.0-cil.
Unpacking libmono-security4.0-cil (from …/libmono-security4.0-cil_3.10.0-0xamarin2_all.deb) …
Selecting previously unselected package mono-4.0-gac.
Unpacking mono-4.0-gac (from …/mono-4.0-gac_3.10.0-0xamarin2_all.deb) …
Selecting previously unselected package mono-gac.
Unpacking mono-gac (from …/mono-gac_3.10.0-0xamarin2_all.deb) …
Selecting previously unselected package mono-runtime-common.
Unpacking mono-runtime-common (from …/mono-runtime-common_3.10.0-0xamarin2_amd64.deb) …
Selecting previously unselected package mono-runtime-sgen.
Unpacking mono-runtime-sgen (from …/mono-runtime-sgen_3.10.0-0xamarin2_amd64.deb) …
Selecting previously unselected package mono-runtime.
Unpacking mono-runtime (from …/mono-runtime_3.10.0-0xamarin2_amd64.deb) …
Selecting previously unselected package libmono-corlib4.5-cil.
Unpacking libmono-corlib4.5-cil (from …/libmono-corlib4.5-cil_3.10.0-0xamarin2_all.deb) …
Selecting previously unselected package libmono-i18n4.0-cil.
Unpacking libmono-i18n4.0-cil (from …/libmono-i18n4.0-cil_3.10.0-0xamarin2_all.deb) …
Selecting previously unselected package libmono-i18n-west4.0-cil.
Unpacking libmono-i18n-west4.0-cil (from …/libmono-i18n-west4.0-cil_3.10.0-0xamarin2_all.deb) …
Processing triggers for man-db …
Processing triggers for bamfdaemon …
Rebuilding /usr/share/applications/bamf.index…
Processing triggers for desktop-file-utils …
Processing triggers for gnome-menus …
Setting up cli-common (0.9~xamarin1) …
Setting up mono-runtime-sgen (3.10.0-0xamarin2) …
Setting up mono-runtime (3.10.0-0xamarin2) …
update-alternatives: using /usr/bin/mono to provide /usr/bin/cli (cli) in auto mode.
Setting up libmono-corlib4.5-cil (3.10.0-0xamarin2) …
Setting up libmono-i18n4.0-cil (3.10.0-0xamarin2) …
Setting up libmono-i18n-west4.0-cil (3.10.0-0xamarin2) …
Setting up libmono-system-xml4.0-cil (3.10.0-0xamarin2) …
Setting up libmono-system4.0-cil (3.10.0-0xamarin2) …
Setting up libmono-security4.0-cil (3.10.0-0xamarin2) …
Setting up mono-4.0-gac (3.10.0-0xamarin2) …
Setting up mono-gac (3.10.0-0xamarin2) …
update-alternatives: using /usr/bin/gacutil to provide /usr/bin/cli-gacutil (global-assembly-cache-tool) in auto mode.
Setting up mono-runtime-common (3.10.0-0xamarin2) …
Setting up libmono-system-security4.0-cil (3.10.0-0xamarin2) …
Setting up libmono-system-configuration4.0-cil (3.10.0-0xamarin2) …
Processing triggers for libc-bin …
ldconfig deferred processing now taking place

guess it might depend if you installed from source. In my case I had to go into the directory that contained the source install and issue something like a “make uninstall” then the apt-get method worked for me. I have gotten it pretty out of shape and had to issue sudo apt-get purge mono , reboot just in case, and sudo apt-get install mono

good luck

I haven’t installed it from source.

Mono was installed from ppa:directhex/monoxide and nzbdrone from the nzbdrone ppa and always updated fine.

I have now removed the ppa:directhex/monoxide with ppa-purge, and deleted the files in sources.list.

Did apt-get update.

Now, I followed the dependencies down the line. At sometime I get this:

The following packages have unmet dependencies:
libmono-system-web4.0-cil : Depends: libmono-system-drawing4.0-cil (>= 3.0.6) but it is not going to be installed
Depends: libgdiplus but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

sudo apt-get install libgdiplus
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:
libgdiplus : Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-3ubuntu9.1 is to be installed
Depends: libtiff5 (> 4.0.0-1~) but it is not installable
E: Unable to correct problems, you have held broken packages.

sudo apt-get install libtiff5
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libtiff5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘libtiff5’ has no installation candidate

libtiff5 seems to be the culprit.

BTW, I’m on ubuntu 12.04 precise which is a long term release until 2017, so this shouldn’t be a problem.

Everything was fine with nzbdrone untill this new mono arrived in the repo (it has been bugging my apt-get upgrade for 1 or 2 months I think) and I today finally removed the previous mono to fix this broken mono update.

Now, I can install the new mono but not nzbdrone.

Ok, I fixed it.

The repo “deb http://apt.sonarr.tv/ master main” is broken, this was the problem.

I removed it and did:

sudo add-apt-repository ppa:directhex/monoxide
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mono-complete

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC
echo “deb http://update.nzbdrone.com/repos/apt/debian master main” | sudo tee -a /etc/apt/sources.list

sudo apt-get update
sudo apt-get install nzbdrone

And then again sudo apt-get upgrade to update some more things.

Now nzbdrone is working again.

But apt-get upgrade now gives me:

The following packages have been kept back:
libgdiplus libglib2.0-cil libgtk2.0-cil libnunit-cil-dev

This is obviously caused by the “update.nzbdrone.com” repo but is not much of an issue as everything is working fine (whereas the sonarr.tv repos was broken).

could someone please fix all these broken nzbdrone / sonarr repos.

Thanks.