Instale mono-apache-server4
em vez de mono-apache-server
com libapache2-mod-mono
Então, tente:
apt-get install libapache2-mod-mono mono-apache-server4
Estou tentando instalar o mod_mono no Ubuntu Ubuntu 14.04.3 LTS. Eu tentei seguir o comando e recebi um erro:
sudo apt-get install libapache2-mod-mono mono-apache-server
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: mono-apache-server (< 3.8.1) but 4.2-2~xamarin1 is to be installed or
mono-apache-server4 (< 3.8.1) but 4.2-2~xamarin1 is to be installed or
mono-apache-server2 (< 3.8.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Eu instalei a última versão mono.
sudo apt-get install mono-complete
Por favor, sugira-me o que devo fazer?
Obrigado
Instale mono-apache-server4
em vez de mono-apache-server
com libapache2-mod-mono
Então, tente:
apt-get install libapache2-mod-mono mono-apache-server4