当我试图安装它时,会出现以下结果:
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:
mono-complete : Depends: mono-devel (= 3.12.1-0xamarin1) but it is not going to be installed
Depends: mono-4.0-service (= 3.12.1-0xamarin1) but it is not going to be installed
Depends: libmono-cil-dev (= 3.12.1-0xamarin1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.发布于 2016-03-30 18:31:15
为了其他人的利益,这里有一个我遇到这个问题的场景:使用基于Debian 8 "jessie“的最新詹金斯码头储存库。
我运行了普通的mono安装说明,包括
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list然后,apt-get install -y mono-devel由于未满足的依赖关系而失败。
我尝试重新加载docker映像并在没有上述两个命令的情况下运行安装。突然起作用了。
显然,最新(截至2016年3月30日) jenkins图像并不需要mono的标准第三方存储库。
https://askubuntu.com/questions/600972
复制相似问题