无法安装mono-gmcs软件包

我正尝试在运行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来安装它。

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

如果你打算选择单声道4. *通过单声道,告别许多旧的包,如这个。 他们已经过时了,你不再需要他们了。

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