Page 4 of 5

Re: Later version of mono for Raspberry Pi 2

Posted: Sat 14 Oct 2017 3:24 am
by endfm
yer the whole installation is a little screwed now,

libmono-i18n-west4.0-cil http://download.mono-project.com/repo/d ... n1_all.deb
libmono-system-web-http4.0-cil http://download.mono-project.com/repo/d ... n1_all.deb
libmono-sharpzip4.84-cil http://download.mono-project.com/repo/d ... n1_all.deb
libmono-system-runtime-caching4.0-cil http://download.mono-project.com/repo/d ... n1_all.deb

Do you want to ignore this warning and proceed anyway?
To continue, enter "yes"; to abort, enter "no": yes
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/mono-xamarin.list:1
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf ttf-bitstream-vera all 1.10-8
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libart-2.0-2 armhf 2.3.21-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libbonobo2-common all 2.32.1-3
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf liborbit-2-0 armhf 1:2.14.19-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libbonobo2-0 armhf 2.32.1-3
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libdbus-1-3 armhf 1.10.22-0+deb9u1
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf dbus armhf 1.10.22-0+deb9u1
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libdbus-glib-1-2 armhf 0.108-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf gconf2-common all 3.2.6-4
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libgconf-2-4 armhf 3.2.6-4
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf gconf-service armhf 3.2.6-4
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libltdl7 armhf 2.4.6-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libtdb1 armhf 1.3.11-2
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]

Re: Later version of mono for Raspberry Pi 2

Posted: Mon 23 Oct 2017 11:00 pm
by DaveStLou
I tried these instructions however when I check the version (mono -v or mono --version) it returns "Illegal instruction" :(

Re: Later version of mono for Raspberry Pi 2

Posted: Mon 23 Oct 2017 11:14 pm
by ConligWX
DaveStLou wrote:I tried these instructions however when I check the version (mono -v or mono --version) it returns "Illegal instruction" :(
I think you may need to install the full package..

Code: Select all

sudo apt-get install mono-complete

Re: Later version of mono for Raspberry Pi 2

Posted: Mon 23 Oct 2017 11:40 pm
by DaveStLou
Toxic17 wrote:
I think you may need to install the full package..
Isn't that what this does? "sudo aptitude install mono-complete=4.0.5.1-0xamarin1"

Re: Later version of mono for Raspberry Pi 2

Posted: Tue 24 Oct 2017 5:45 am
by ConligWX
DaveStLou wrote:
Toxic17 wrote:
I think you may need to install the full package..
Isn't that what this does? "sudo aptitude install mono-complete=4.0.5.1-0xamarin1"
then by your logs the mono installation is incomplete.

Err http://mirrordirector.raspbian.org/raspbian stretch/main armhf libdbus-1-3 armhf 1.10.22-0+deb9u1
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) [IP: 2a00:1098:0:80:1000:75:0:3 80]

I suggest finding another full source or change the version of mono.

Re: Later version of mono for Raspberry Pi 2

Posted: Tue 31 Oct 2017 1:27 pm
by richard_newberry
Can you find out which sources work so I can download and Install mono version 4.0.5 because every time I've tried I get broken packages. Mono 5 works without broken packages but I get a error saying not found. It's really time consuming and is raspbian pi with debian stretch on it be the same as a debian stretch as a virtual machine running on vmware esxi 6.5 u1 ?

Thanks.

I'm glad Steve is enjoying France.

Re: Later version of mono for Raspberry Pi 2

Posted: Tue 05 Dec 2017 1:12 pm
by MikeM
I'm having trouble installing mono-complete 4.0.5 under the new raspbian stretch.
Do anyone have a working solution?

Re: Later version of mono for Raspberry Pi 2

Posted: Wed 06 Dec 2017 1:03 am
by oakview
Steen9542 wrote:There have been a lot of posts regarding which mono version to use and how to install it on a Raspberry PI2.
Below is how I managed to install a working Cumulus using mono 4.0.5.

This post is primarily based on:
https://cumulus.hosiene.co.uk/viewtopic.p ... 21#p126018

Installation is based on post from:
l2k » Thu Aug 24, 2017 8:40 am

mono problems from:
SpaceHiker » Mon Sep 18, 2017 12:09 am

As I read the posts, the last unbroken mono version is 4.0.5

But it can be quite difficult to install that old version in a resent version of Linux raspberrypi.

This is a clean installation on a new formatted SD card (16GB).

Step by step guide:
Download the latest version of Linux raspberrypi (4.9.41-v7+) to a PC (win10) and flash the SD using Etcher.

Then transfer the SD card to the PI2 and fire it up.

Setup keyboard, lokalisation, time zone … from Preferences/Raspberry Pi configuration

Check that the OS is up to date:
$ sudo apt-get update
$ sudo apt-get dist-upgrade

Reboot PI2

Add the mono repository:
$ cd /etc/apt/sources.list.d
$ sudo vi mono-xamarin.list
add below line:
deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5 main

Update:
( "aptitude update" failed for me, therefore I used)
$ sudo apt-get update

Just ignore the warnings about signatures and conflicting distribution.

In order to fix dependencies, aptitude must be used to install mono:
$ sudo aptitude install mono-complete=4.0.5.1-0xamarin1

Then you will get a proposal from aptitude to solve the dependencies:

Keep the following packages at their current version:
1) mono-complete [Not Installed]

Do NOT accept this solution, when that would install the current version of mono(4.6.2) which has errors (as documented by SpaceHiker).

Respond with "n"

Accept the next solution from aptitude to install mono version 4.0.5 with this warning:

Leave the following dependencies unresolved:
186) libmono-webbrowser4.0-cil recommends libgluezilla (>= 2.6)

Respond with "Y"

At the next prompt:
0 packages upgraded, 186 newly installed, 0 to remove and 0 not upgraded.
Need to get 61,8 MB of archives. After unpacking 163 MB will be used.
Do you want to continue? [Y/n/?]

Respond "Y"

At the last prompt:
Do you want to ignore this warning and proceed anyway?
To continue, enter "yes"; to abort, enter "no":

Respond "yes"

Now mono-complete 4.0.5 will be installed.

In order to protect this old mono version (4.0.5) from future upgrades:
$ sudo apt-mark hold mono-runtime mono-complete

Installed version is now:
$ mono -V
Mono JIT compiler version 4.0.5 (Stable 4.0.5.1/1d8d582 Thu Nov 12 12:22:41 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. http://www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

Now download CumulusMXDist3043.zip from this forum.

Then go to pi home:
$ cd /home/pi
and extract Cumulus:
$ unzip ./Downloads/CumulusMXDist3043.zip

Go to CumulusMX folder and start Cumulus (using your preferred localization):
$ cd CumulusMX
$ sudo mono CumulusMX.exe -lang da-DK
Current culture: Danish (Denmark)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3043
Station type not set
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
10-10-2017 11:35:55
Type Ctrl-C to terminate

Now point your browser to:
http://localhost:8998/
and set up your station in "Settings"

Then restart Cumulus:

$ sudo mono CumulusMX.exe -lang da-DK
Current culture: Danish (Denmark)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-10-10T11:39:46
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
sysname=Linux release=4.9.41 machine=armv7l
Fine Offset station found
Connected to station
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
10-10-2017 11:39:48
Type Ctrl-C to terminate

Cumulus is running and using "," as decimal separator.

Enjoy :D

Thank you for taking the time to do this step by step guide.

I have been struggling for over a week now to get MX up and working on a Rpi3 with mono and I must admit I was close to giving up,until I found your post tonight.

I followed you instructions to the letter and I'm pleased to say I have MX working on Raspberrypi Stretch (with GUI) and a WH1080..!!!

Thank You Sir :D

Dave

Re: Later version of mono for Raspberry Pi 2

Posted: Wed 06 Dec 2017 12:49 pm
by Frank G
Hello,
just a question to avoid further post regarding installation/running problems with mono, .... on a RPI:

Is somebody able to describe how to install CMX, mono, ... on a Raspberry Pi (1, 2 and/or 3)? I know that there are a lot of posts regarding this issues, but it is »a lot of« and it is very difficult to find the correct installation (method) in all this posts. (I tried it without success with my RPI 1!). This post(s) could be maintained and would show always the current method(s).
This would be great!

Thanks, Frank

Re: Later version of mono for Raspberry Pi 2

Posted: Wed 06 Dec 2017 8:55 pm
by oakview
Frank, I was in a very similar position to you I followed "Steen9542" post in this thread to the letter and it worked first time no problems. The only thing I would say is make sure you start off with a clean install so you don't have any spurious bits of past failed installs etc.

Hang in there Frank it will work on a Pi3...!

Dave

Re: Later version of mono for Raspberry Pi 2

Posted: Thu 07 Dec 2017 7:30 am
by MikeM
oakview wrote:The only thing I would say is make sure you start off with a clean install so you don't have any spurious bits of past failed installs etc.
I could not get the installation guide provided by "Steen9542" to work, until I restarted with a complete new install of Raspbian Stretch. :clap:

Re: Later version of mono for Raspberry Pi 2

Posted: Sat 09 Dec 2017 5:30 pm
by Frank G
Hang in there Frank it will work on a Pi3...!
Thank you dave for the encouraging words! :D :clap:

I orderted a RPi3 (perhaps my problems depents on my RPi1).
The days become shorter and colder and I will spend some time to set it up again. :lol:

Frank

Re: Later version of mono for Raspberry Pi 2

Posted: Sun 17 Dec 2017 1:23 pm
by Frank G
Hello all!
RPI3 orderd, installed and tesed. It (CumulusMX and WH1080) works with the above description! :D :)
SD-Card removed and inserted in my RPI2, and, it works also (and my old sd-card with Kodi installed works now in the new RPI3)!!! :lol:
The next steps are changing .bat-scripts to bash-scripts (has nothing to do with CumulusMX, the scrips are for data tranfer via ftp and so on, but they run on my "weather sever").

BTW: The webtag <#SystemUpTime> shows "Systerm Uptime 0 days 0 hours". Is this webtag not suported with Linux (so far as I can remember with windows a time was shown)?

Regards Frank

Re: Later version of mono for Raspberry Pi 2

Posted: Sun 17 Dec 2017 3:20 pm
by steve
Searching the forum for systemuptime suggests that it doesn’t work on some systems and where it does work it is usually not correct.

Re: Later version of mono for Raspberry Pi 2

Posted: Sun 17 Dec 2017 5:33 pm
by ConligWX
Frank G wrote:BTW: The webtag <#SystemUpTime> shows "Systerm Uptime 0 days 0 hours". Is this webtag not suported with Linux (so far as I can remember with windows a time was shown)?

Regards Frank
Yes Debian too did not show "systemuptime" in my CUtags.php all i can show is my cumulusmx time up.

SystemUpTime|0 days 0 hours:|:
ProgramUpTime|0 days 23 hours:|: