Cannot install mod-mono on Ubuntu 16.04 after Mono-Apache-Server 4.5 upgrade

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












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.







share|improve this question


























    up vote
    0
    down vote

    favorite












    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.







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      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.







      share|improve this question














      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.









      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 24 at 1:31

























      asked Apr 24 at 1:25









      Tommy

      12




      12

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027639%2fcannot-install-mod-mono-on-ubuntu-16-04-after-mono-apache-server-4-5-upgrade%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027639%2fcannot-install-mod-mono-on-ubuntu-16-04-after-mono-apache-server-4-5-upgrade%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

          `kcmshell` modules relation with `/usr/share/applications`

          How to enroll fingerprints to Ubuntu 17.10 with VFS491