E: Error, pkgProblemResolver::Resolve generated breaks while uninstalling Mono

Solution 1:

arg! It's just apt-get being silly, you need aptitude to solve problems:

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

That should deal with it.


A resume of the problematics packages:

  • libgtk2.0-cil this is really a mono dependency. Unless you use Banshee you won't need it.

    CLI binding for the GTK+ toolkit 2.12

    This package provides the atk-sharp, gdk-sharp, gtk-dotnet, gtk-sharp and pango-sharp assemblies that allow CLI (.NET) programs to use the GTK+ user interface toolkit 2.12, ATK, Pango, GTK.NET and GDK.

    GTK# 2.10 is a CLI (.NET) language binding for the GTK+ 2.10 toolkit

    This package contains the GTK# assemblies

  • libmono*

    Just some mono dependencies, and you want to uninstall it.


All in all, all the packages are easily removable, and I'm actually thinking that they didn't get installed in the first place. You can check using:

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

If no package shows, then you can be sure that none were installed in first place and is just apt-get doing your life impossible.