I have installed raspbian stretch and installed mono as per instructions, however im getting error message
mono --version
-bash: mono: command not found
Announcement
Collapse
No announcement yet.
Howto upgrade Mono to version 4.x on a Raspberry Pi1 and 2
Collapse
X
-
Originally posted by spud View Post
Just install the latest Raspbian image (Raspbian Stretch) that you can find here: https://www.raspberrypi.org/downloads/raspbian/
I'm not sure what is the latest mono version that comes with this distribution but you probably won't have to upgrade mono at all.
install mono:
Code:sudo apt-get install mono-complete
Code:mono --version
I got message at 95% of download :
failed to fetch http://raspbian.raspberrypi.org/rasp...b9u2_armhf.deb
Any advices?
Leave a comment:
-
Thank you for your advice. Will install it tonight and try it. I work long hours so not much time for learning Raspberry programming.
Best Regards
Leave a comment:
-
Originally posted by Tim View PostHi Spud,
There is 3 versions of Rasbian Stretch. Which one do you recommend.
Do I need desktop version with recommended software or lite.
Also, because all programming is done in command line , do I need desktop version at all.
This Raspberry will be used with your plugin to get inputs from PLC. I have dedicated PC with HomeSeer installed on it.
How many Raspberry devices can I use with this plugin?
You can use as many RPi as you want with the plugin, each one will create a new instance of the plugin that connects to your HS3 system.
Leave a comment:
-
Hi Spud,
There is 3 versions of Rasbian Stretch. Which one do you recommend.
Do I need desktop version with recommended software or lite.
Also, because all programming is done in command line , do I need desktop version at all.
This Raspberry will be used with your plugin to get inputs from PLC. I have dedicated PC with HomeSeer installed on it.
How many Raspberry devices can I use with this plugin?
Leave a comment:
-
Originally posted by Tim View PostThank you for advices.
My apologies for not specifying that im trying to set this raspberry as additional input device .
My HomeSeer is running on another PC.
I have purchased plugin for RaspberryIO.
I'm not sure what is the latest mono version that comes with this distribution but you probably won't have to upgrade mono at all.
install mono:
Code:sudo apt-get install mono-complete
Code:mono --version
Leave a comment:
-
Thank you for advices.
My apologies for not specifying that im trying to set this raspberry as additional input device .
My HomeSeer is running on another PC.
I have purchased plugin for RaspberryIO.
Leave a comment:
-
Looks like you have first version of Raspberian Wheezy on your two RPi's. That said the first Homeseer Zee ran on an RPi #1.
The initial Homeseer 3 Zee 2 had mono that was built long math way which made it difficult to remove.
Tim,
It will be easier for you to start from scratch. That said you will lose your events as mentioned above using a newer version of Mono.
Best maybe to save your Homeseer 3 directory to a USB stick. Copy /opt/usr/HomeSeer to a USB stick. Make sure it is not running.
1 - Download current version of Zee2 over here ==> Download Zee2
2 - write the image to a new 16 SD card and connect a monitor and keyboard to your RPi
3 - after install make sure it is running.
4 - update and upgrade the OS
5 - at the end check your version of mono: mono -V
6 - this version of Mono on the new Zee2 can be upgraded if you want. (optional).
As mentioned above you will lose your events upgrading Mono versions. There are no real mechanisms to preserve you events when upgrading old mono to new mono.
Best mechanism is to do a screen print maybe of each of your events and manually re-enter them one by one.
Here repurposed my original Homeseer 3 Zee and continue to utilize the Zee 2 RPi2's.
Leave a comment:
-
Well, that didnt work.
If im reading it right on boot screen it is:
Raspbian GNU/Linux 7
Linux raspberypi 3.12.22+ #691
Every time when i use command " apt" im getting error message " command not found "
Leave a comment:
-
It's a little more time consuming/complex for a simple forum posting. A full install guide sounds like what you're needing. However first steps before taking the drastic "re-install" method. What version of Raspbian are you running?
Run either of these and post the output
Code:lsb-release
Code:cat /etc/os-release
Leave a comment:
-
Im using raspbian from sd card purchased with Raspbery B+ few years ago.
Just waiting to re-install program once again and then will follow your instructions.
Leave a comment:
-
https://www.mono-project.com/downloa...d-lin-raspbian
I think you may not have run the 1st step, that installs 'dirmngr'.
Code:sudo apt install apt-transport-https dirmngr sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb https://download.mono-project.com/repo/debian stable-raspbianstretch main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list sudo apt update
Leave a comment:
-
Did you install the Raspberry Pi? Or using the image it came with?
Leave a comment:
-
If you are willing to help me, i will delete everything from Raspbery and install what you are suggesting
Obviously, i'm doing everything wrong.
I have experience in PLC programming, but i know absolutely nothing about Linux.
Leave a comment:
-
Hi, I tried to install apt key but didn't work.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
and then i get error message
Executing: /tmp/apt-key-gpghome.Lh5D4Q10zm/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.Lh5D4Q10zm/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr
Leave a comment:
Leave a comment: