Sorry if I’m necro posting but my problem is the same except I’m on debian sid (kernel 4.7).
I tried installing the packages you suggested and apt claims they are all the latest…
sudo apt-get install mono-reference-assemblies-4.0 mono-devel mono-xbuild mono-mcs mono-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
mono-devel is already the newest version (4.2.1.102+dfsg2-8).
mono-mcs is already the newest version (4.2.1.102+dfsg2-8).
mono-xbuild is already the newest version (4.2.1.102+dfsg2-8).
mono-reference-assemblies-4.0 is already the newest version (3.12.1+dfsg-1).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
But Setup.sh can’t find corlib4.0 still
/Setup.sh
Attempting installation of missing package: libmono-corlib4.0-cil
+ sudo apt-get install -y libmono-corlib4.0-cil
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libmono-corlib4.0-cil is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mono-reference-assemblies-4.0 mono-devel
E: Package 'libmono-corlib4.0-cil' has no installation candidate
Let me know if I should just open up a new answer. Also, I have installed all of the other dependencies listed in the wiki.
Thanks!