首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装mono-gmcs包

无法安装mono-gmcs包
EN

Stack Overflow用户
提问于 2015-10-12 06:10:40
回答 3查看 11.9K关注 0票数 4

我正在尝试在运行Kali Linux的虚拟机上安装mono-gmcs包,但收到了输出

代码语言:javascript
复制
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-gmcs : Depends: mono-mcs (= 3.12.1-0xamarin1) but 4.0.4.1-0xamarin1 is to be installed
E: Unable to correct problems, you have held broken packages.

我使用命令sudo apt-get install mono-gmcs来安装它。

EN

回答 3

Stack Overflow用户

回答已采纳

发布于 2015-10-12 06:15:01

它说,mono-gmcs依赖于mono-mcs (3.12.1-0xamarin1),目前是通过4.0.4.1-0xamarin1安装的。您有版本冲突。降级xamarin将解决它的sudo apt-get install packagename=version

票数 2
EN

Stack Overflow用户

发布于 2015-10-12 09:21:48

如果你打算通过mono-complete选择Mono 4.*,那就和许多像这样的旧包说再见吧。它们已经过时了,你不再需要它们了。

编译器已经统一到单个mcs中。

票数 2
EN

Stack Overflow用户

发布于 2019-06-12 16:44:31

尝尝这个

sudo apt-get install mono-complete=*

它带来了最新的版本。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33070654

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档