我正在尝试在运行Kali Linux的虚拟机上安装mono-gmcs包,但收到了输出
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来安装它。
发布于 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
发布于 2015-10-12 09:21:48
如果你打算通过mono-complete选择Mono 4.*,那就和许多像这样的旧包说再见吧。它们已经过时了,你不再需要它们了。
编译器已经统一到单个mcs中。
发布于 2019-06-12 16:44:31
尝尝这个
sudo apt-get install mono-complete=*
它带来了最新的版本。
https://stackoverflow.com/questions/33070654
复制相似问题