Ubuntu: Mono-complete 5.0.1.1 installed - but executes 3.2.7



Question:

I have a Ubuntu 14.04 system - which seems to have mono 3 installed by default. As I needed to run software which requires a more recent version, I followed the guide here and installed the project repo and upgraded.

Now when I check the version for the mono-complete package (and mono-runtime) I get back the following, which entirely makes sense to me:

mono-complete:    Installed: 5.0.1.1-0xamarin5+ubuntu1404b1    Candidate: 5.0.1.1-0xamarin5+ubuntu1404b1    Version table:   *** 5.0.1.1-0xamarin5+ubuntu1404b1 0          500 http://download.mono-project.com/repo/ubuntu/ trusty/main amd64 Packages          100 /var/lib/dpkg/status       4.2.3.4-0xamarin2 0          500 http://apt.sonarr.tv/ master/main amd64 Packages       4.2.1.102-0xamarin1 0          500 http://apt.sonarr.tv/ master/main amd64 Packages       3.2.8+dfsg-4ubuntu1.1 0          500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages          500 http://security.ubuntu.com/ubuntu/ trusty-security/universe amd64 Packages       3.2.8+dfsg-4ubuntu1 0          500 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages  

However running the actual 'mono' program or checking the version of it shows the old version, preventing me from running the software:

mono -V  Mono Runtime Engine version 3.2.7 (master/0a558a7 Fri Jan  3 18:26:01 GMT 2014)  Copyright (C) 2002-2013 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com          TLS:           __thread          SIGSEGV:       altstack          Notifications: epoll          Architecture:  amd64          Disabled:      none          Misc:          softdebug           LLVM:          supported, not enabled.          GC:            sgen'  

Any idea how I can get it to use the right version?


Solution:1

Mono v5.0.1.1 will not install on a RPi1 running Raspbian jessie. There are missing command files used in the install scripts. You need to return to mono v3.2.12.

It installs fine on the RPi 3 installs of Raspbian jessie from the same image.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »