I re-installed mono-runtime due to this error and it is solved.
But now I want to uninstall it (but in Ubuntu 13.10). So this is what happens:
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 (< 2.10.8.2) but it is not going to be installed
Recommends: libmono-i18n-west4.0-cil but it is not going to be installed
libmono-system-web-services4.0-cil : Depends: libmono-system-configuration4.0-cil (>= 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.
I looked at this very popular post but in this case I'm not installing a package. So not very sure
Any idea?
Additional info:
- My
/var/log/dist-upgrade/apt.log
file is empty. - The command
dpkg --get-selections | grep hold
returns nothing
arg! It's just apt-get being silly, you need aptitude to solve problems:
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.
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:
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.