HomeGenie Forum
General Category => Troubleshooting and Support => Topic started by: lastbit on January 19, 2016, 07:42:30 PM
-
On an new install of R513, when trying to install the /Single Board Computers/Raspberry Pi GPIO Module I get
* = Status: Package Install Error
What have I not done correctly?
In addition, on the "Maintenance " window I have a "Install Package" button highlighted. Selecting the button brings me to the Package Manager, but I have no idea of what package needs to be installed. I assumed the GPIO since it is being used in one of my programs. But no way to know.
John
-
This is due to a bug in mono for ARM (Raspberry Pi and similar SBC).
Solution:
Uninstall current mono and upgrade to mono 4.
http://www.mono-project.com/docs/getting-started/install/linux/ (http://www.mono-project.com/docs/getting-started/install/linux/)
Cheers,
g.
-
Step by step instrudction for using latest mono with homegenie:
sudo apt-get remove homegenie
sudo apt-get autoremove
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
then install homegenie again with gdebi.
Cheers,
g.
-
There seems to be a bug in latest mono from Xamarin repository:
https://bugzilla.xamarin.com/show_bug.cgi?id=37388
so DO NOT INSTALL mono 4 as it will lead to a broken mono returning "Illegal Instruction" error, and HomeGenie won't start at all.
So I had to apply a couple of work-arounds to HomeGenie code in order to solve this specific issue (and another one regarding error in compiling c# automation programs).
These work-arounds will let HomeGenie run on official debian mono release (which is currently 3.2.8).
These fixes will be available with HG v1.1-beta.514.
Cheers,
g.