Linux mod_mono install help

Hey,
So I just started to play with Linux. Installed Ubuntu 14.04 (Desktop) on an old XP machine I had laying around. I'm hoping to use it as a kind of test server and maybe a NAS later. I have gotten Apache working along with FTP, however, I'm getting stuck trying to install mod_mono for ASP.NET. So far I've been trying to follow this guide, but I'm getting stuck at

sudo apt-get install libapache2-mod-mono

It says something about apache2.2-common not being installable (you'll have to forgive me as I don't have it on right now). I did some googleing, but didn't find anything that worked for me. If one of the other methods are better in your opinion, let me know. The only thing I've been able to comprehend enough to feel comfortable about is apt-get, so it's the way that I followed. If you have any questions, please ask. Any help is greatly appreciated. Thanks.

Is the universe repo active as it says to check?

Whats the exact error?

Also, for when you get it fixed and isntalled, if you need it, theres lots of info here http://www.mono-project.com/docs/web/mod_mono/

I just checked, and I have everything except source code active


Output is as follows:



Reading package lists... Done


Building dependency tree


Reading state information... Done


Some packages could not be installed.


This may mean that you have requested an impossible situation or


if you are using the unstable distribution that some required packages


have not yet been created or been moved out of Incoming.


The following information may help to resolve the situation:


The following packages have unmet dependencies:


libapache2-mod-mono : Depends: apache2.2-common but it is not installabl


E: Unable to correct problems, you have held broken packages.



Attempting an apt-get of apache2.2-common yields:



Reading package lists... Done<


Building dependency tree


Reading state information... Done


Package apache2.2-common 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:


apache2-bin:i386 apache2:i386 apache2-data apache2-bin apache2


E: Package 'apache2.2-common' has no installation candidate



I've run into "no installation candidate" recently while trying to install other things. Thanks for the help and the link, I'll make sure to read it over.

Theres something wrong with that as the package _doesnt_ have any dependancies on apache2.2-common according to ubuntus package db.

http://packages.ubuntu.com/trusty/libapache2-mod-mono

make sure your system is up to date first and try again.

available apache packages: http://packages.ubuntu.com/search?keywords=apache&searchon=names&suite=trusty&section=all

Based on

However the following packages replace it:

apache2-bin:i386 apache2:i386 apache2-data apache2-bin apache2

...I'd say that if you're determined to stick with Ubuntu Desktop, resolving this problem is likely to require symlinks named "apache2.2-common" to one of the packages that has replaced it -- faking out apt so it believes the dependency on "apache2.2-common" has been satisfied.  The real trick is to fake it out with links to packages that actually do what the calling function requires of it!  This can be an educational exercise, but before many repetitions it taught me to choose desktop or server on a per-machine basis.  In every distro's package management system, dependencies tend to be well-tested for either a server or desktop use-case.  The reason they choose not to test both is that the X window manager is considered unsafe for servers.  As a result, the combination of desktop and server... well, puts more demands on the administrator.

I don't use mono, never have, so I'm not sure this desktop v. server thing is really the root cause of the particular problem you're having.  But since you said you "just started to play with Linux" this seemed like a good time for a heads up:  Linux is grand for both desktops and servers, but not so grand for both simultaneously on the same machine.

Based on what Eden dug up, I found my way here:

http://www.mono-project.com/docs/getting-started/install/linux/#modmono-ubuntu-1310-and-later-debian-80-and-later 

Where I realized the "13.10" was followed by a "and later" (AKA 14.04)

Everything appears to be working, however, I cannot, for the life of me, figure out that debian.webapp file. From what I gather, I need to set up a vhost as well, which I tried, but wasn't able to figure out how to set that up.

Thanks for the heads up. I originally installed the server version, until I realized it didn't have a gui. Decided to get the desktop version since I wasn't comfortable enough with the command line to feel like I could get what I wanted done without searching every simple little task. Definitely planning to switch back over, now, once I'm more familiar with everything.