在Ubuntu 14.04.3我運行最新版本的單框架和MonoDevelop的,請參閱如何在Ubuntu 14.04.3 LTS上安裝/配置mod_mono?
How to install the latest version of Mono and MonoDevelop on Ubuntu?
我的目標是讓ASP.net MVC 5.2的網站下運行Apache。所以我安裝apache的單服務器4
sudo apt-get install mono-apache-server4
..但安裝是mod_mono失敗
sudo apt-get install libapache2-mod-mono
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.
我用Google搜索了很多關於這個問題,但我解決不了的問題。有誰知道解決方案?
非常感謝, 的Jordy
謝謝,我可以確認它現在正在工作。我執行了以下命令:sudo apt-get update && sudo apt-get install libapache2-mod-mono – Jordy