Recently Mono was updated to 4.5-0xamarin3+ubuntu1604b1 from 4.4 when that happened my asp.net pages do not display properly i.e..... they just show code when you open the page in the web browser.

After looking at the Apache web server logs I noticed mod-mono was not installed anymore. From there I attempted to reinstall it by using this command

sudo apt-get install libapache2-mod-mono

This is the result that I get

 The following packages have unmet dependencies:
 libapache2-mod-mono : Depends: mono-apache-server (< 4.4) but 4.5-0xamarin3+ubuntu1604b1 is to be installed or
                                mono-apache-server4 (< 4.4) but 4.5-0xamarin3+ubuntu1604b1 is to be installed or
                                mono-apache-server2 (< 4.4) but it is not installable
E: Unable to correct problems, you have held broken packages.

My next step is to downgrade but before I do I wanted to ask if others have seen this issue.

I know this is related to the mod because if I run the XSP server used for development on the same box Mono functions properly.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.