Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See the Wiki for download

Cumulus MX on Ubuntu 18.04

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
Post Reply
martinu
Posts: 45
Joined: Wed Jan 01, 2014 7:54 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7
Location: Leyburn, North Yorkshire

Cumulus MX on Ubuntu 18.04

Post by martinu » Tue Aug 28, 2018 3:39 pm

I'm currently playing with Ubuntu under Oracle Virtual Box on my WIndows7 laptop. I'm running Ubuntu 18.04. I've tried to install mono but it doesn't seem to want to run CumulusMX.exe (I've expanded the Cumulus ZIP to a folder).

https://www.mono-project.com/download/s ... wnload-lin says (for Ubuntu 18.04):

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update

which *seems* to complete successfully but
sudo mono CumulusMX.exe

fails with

Unhandled Exception:
System.TypeLoadException: Could not load type of field 'CumulusMX.Cumulus:MonthlyMySqlConn' (379) due to: Could not load file or assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'CumulusMX.Cumulus:MonthlyMySqlConn' (379) due to: Could not load file or assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.

I'm fumbling around in the dark here, as you can probably tell.

My long-term aim is to replace my Cumulus on my Windows 7 PC with Cumulus on a Raspberry Pi 3 (which I'll also use as a TV-recording computer - a PVR) as a lower-power alternative to the PC which uses about 70W of power even with screen turned off. Maybe I should wait until I get a Rasp Pi and use the instructions for that.

User avatar
steve
Cumulus Author
Posts: 26713
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus MX on Ubuntu 18.04

Post by steve » Tue Aug 28, 2018 3:50 pm

Have you actually installed the mono-complete package, as in the MX installation instructions? And step 2 on the page that you linked to, says that installing mono-complete should cover most cases of 'assembly not found' errors?

If you have installed mono-complete, then I'm afraid I have no other suggestions.
Steve

jlmr731
Posts: 118
Joined: Sat Aug 27, 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Youngstown, Ohio
Contact:

Re: Cumulus MX on Ubuntu 18.04

Post by jlmr731 » Wed Aug 29, 2018 1:33 am

In ubuntu just use apt to install mono complete

should be as easy as "sudo apt install mono-complete"

martinu
Posts: 45
Joined: Wed Jan 01, 2014 7:54 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7
Location: Leyburn, North Yorkshire

Re: Cumulus MX on Ubuntu 18.04

Post by martinu » Wed Aug 29, 2018 9:20 am

That fails with a package dependency:

ubuntu@ubuntu:~$ sudo apt install mono-complete
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.
mono-complete : Depends: monodoc-manual (= 5.14.0.177-0xamarin3+ubuntu1804b1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

and

sudo apt install monodoc-manual

fails

The following packages have unmet dependencies.
monodoc-manual : Depends: monodoc-browser but it is not going to be installed or
monodoc-http but it is not going to be installed or
monodoc-viewer

and monodoc-browser fails on libglade2.0-cil

and so on...


rather than go recursively back through the dependent packages, I'm inclined to thing that something early on hasn't completed properly.


I'm probably missing out some crucial early stage...

jlmr731
Posts: 118
Joined: Sat Aug 27, 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Youngstown, Ohio
Contact:

Re: Cumulus MX on Ubuntu 18.04

Post by jlmr731 » Thu Aug 30, 2018 1:47 am

did you try sudo apt install -f after it failed the first time? or --fix-missing (something like that)
and you did you add any mono repositories? they may be causing problems too if you added any
seeing you have 5.14.0.177-0xamarin3+ubuntu1804b1 shows you got it from the mono repository
mine from ubuntu is monodoc-manual (4.6.2.7+dfsg-1ubuntu1)

Ive just installed it fine on a pretty fresh install of 18.04

so try to comment out mono repo's out of apt sources then update and try to install

Post Reply