linux-无法安装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

转载注明原文:linux-无法安装mono-gmcs软件包 - 代码日志