如何在 Ubuntu 14.04.3 LTS 上 install/configure mod_mono?
How to install/configure mod_mono on Ubuntu 14.04.3 LTS?
在 Ubuntu 14.04.3 我是 运行 最新版本的 Mono Framework 和 MonoDevelop,参见
我的目标是在 apache 下获得 ASP.net MVC 5.2 网站 运行。所以我安装了mono apache server4
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.
我在谷歌上搜索了很多关于这个问题,但我无法解决这个问题。有人知道解决方案吗?
非常感谢,
乔迪
您可能正在使用第 3 方存储库,请将其删除。
/etc/apt/sources.list.d/
之后,apt-get update
。
再试一次!
原页面有说明:http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives
有一个部分“mod_mono(Ubuntu 13.10 及更高版本,Debian 8.0 及更高版本)”,它说:
To enable mod_mono installation on Ubuntu 13.10 and later, and Debian 8.0 and later (and their derivatives), you will need to add a second repository to your system, in addition to the generic Debian/Ubuntu repository above (if you don’t use sudo, be sure to switch to root):
echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
抱歉,这是我几天前在 XSP 包更新时引入的错误 - mod-mono 包被硬编码为拒绝安装意外的新 XSP,但我忘记了它。
为所有架构构建和上传的包。
在 Ubuntu 14.04.3 我是 运行 最新版本的 Mono Framework 和 MonoDevelop,参见
我的目标是在 apache 下获得 ASP.net MVC 5.2 网站 运行。所以我安装了mono apache server4
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.
我在谷歌上搜索了很多关于这个问题,但我无法解决这个问题。有人知道解决方案吗?
非常感谢, 乔迪
您可能正在使用第 3 方存储库,请将其删除。
/etc/apt/sources.list.d/
之后,apt-get update
。
再试一次!
原页面有说明:http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives
有一个部分“mod_mono(Ubuntu 13.10 及更高版本,Debian 8.0 及更高版本)”,它说:
To enable mod_mono installation on Ubuntu 13.10 and later, and Debian 8.0 and later (and their derivatives), you will need to add a second repository to your system, in addition to the generic Debian/Ubuntu repository above (if you don’t use sudo, be sure to switch to root):
echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
抱歉,这是我几天前在 XSP 包更新时引入的错误 - mod-mono 包被硬编码为拒绝安装意外的新 XSP,但我忘记了它。
为所有架构构建和上传的包。