E:错误,pkgProblemResolver ::在卸载Mono时解决生成的中断

由于此错误 ,我重新安装了mono-runtime,它已经解决了。
但现在我想卸载它 (但在Ubuntu 13.10中)。 所以这就是:

hogar@hogar-desktop:~$ sudo apt-get purge mono-runtime 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: libgtk2.0-cil : Depends: libmono-cairo4.0-cil (>= 2.10.1) but it is not going to be installed Depends: libmono-system-drawing4.0-cil (>= 1.0) but it is not going to be installed libmono-corlib4.0-cil : Depends: mono-runtime (>= 2.10.8.1) but it is not going to be installed Depends: mono-runtime (= 1.0) but it is not going to be installed Depends: libmono-system-enterpriseservices4.0-cil (>= 1.0) but it is not going to be installed Depends: libmono-system-web4.0-cil (>= 2.10.3) but it is not going to be installed libmono-system4.0-cil : Depends: libmono-security4.0-cil (>= 2.10.1) but it is not going to be installed Depends: libmono-system-configuration4.0-cil (>= 1.0) but it is not going to be installed Depends: mono-runtime (>= 2.10.8.1) but it is not going to be installed Depends: mono-runtime (< 2.10.8.2) but it is not going to be installed monodoc-manual : Depends: monodoc-browser but it is not going to be installed or monodoc-http but it is not going to be installed or monodoc-viewer E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. 

我看了这个非常受欢迎的post,但在这种情况下,我没有安装包。 所以不太确定

任何的想法?


附加信息:

  • 我的/var/log/dist-upgrade/apt.log文件为空。
  • 命令dpkg --get-selections | grep hold dpkg --get-selections | grep hold什么都不返回

ARG! 这只是愚蠢的,你需要能力来解决问题:

 sudo apt-get install aptitude sudo aptitude -fy remove mono-runtime 

那应该处理它。


问题包的简历:

  • libgtk2.0-cil这真的是单声道依赖。 除非你使用Banshee,否则你不需要它。

    GTK +工具包2.12的CLI绑定

    该软件包提供了atk-sharp,gdk-sharp,gtk-dotnet,gtk-sharp和pango-sharp组件,允许CLI (.NET)程序使用GTK +用户界面工具包2.12,ATK,Pango,GTK.NET和GDK 。

    GTK#2.10是GTK + 2.10工具包的CLI(.NET)语言绑定

    该软件包包含GTK#程序集

  • libmono *

    只是一些单声道依赖项,你想卸载它。


总而言之,所有软件包都可以轻松移除,而我实际上认为它们并没有首先安装。 你可以检查使用:

 dpkg -l libgtk2.0-cil libmono-corlib4.0-cil libmono-system-web-services4.0-cil libmono-system4.0-cil monodoc-manual | grep -v 'ii ' 

如果没有包装显示,那么你可以确定没有任何包装安装在第一位,只是倾向于让你的生活变得不可能。