Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
$ sudo apt-get install mono-runtime
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 linux-image-generic-pae : Depends: linux-image-3.2.0-38-generic-pae but it is not going to be installed
 mono-runtime : Depends: mono-gac (= but it is not going to be installed
                Recommends: binfmt-support (>= 1.1.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I'm trying to install McMyAdmin on Ubuntu 12.04, but I can't install mono. What's the problem? Should I backup the server files and reinstall?

Edit: Here's sources.list; sources.list.d is empty.

share|improve this question
You might want to run 'apt-get -f install' to correct these:. Did you try what the output suggested? – jordanm Mar 24 '13 at 5:38
Yes I did, and it still says the same thing. – user104323 Mar 24 '13 at 5:51
Issue apt-get update first – warl0ck Mar 24 '13 at 5:55
BTW, this isn't a problem with the kernel, it is something screwed up with the package management system. The kernel it is referring to is just an optional package (that you don't need). – goldilocks Mar 24 '13 at 6:27
Add your sources.list and everything in sources.list.d to the post please. Looks like you have enabled some dodgy repos. – Dennis Kaarsemaker Mar 24 '13 at 10:03

-f means fix-broken be sure you already purge or remove or install not canonical. for doing continue you should use -f to fix your problem. such as apt-get -f dist-upgrade

share|improve this answer
I'll try apt-get -f dist-upgrade once I boot up the server. – user104323 Mar 24 '13 at 5:52
after apt-get -f dist-upgrade try to dpkg -a --configure – PersianGulf Mar 24 '13 at 6:20
E: Sub-process /usr/bin/dpkg returned an error code (1) – user104323 Mar 25 '13 at 14:33
When you get error after loop of dpkg and apt-get, you should see what say dpkg : preinst or postinst and so on. then you can manipulate its file. – PersianGulf Mar 27 '13 at 19:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.