Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I uninstalled mono in 12.04 by:

   sudo apt-get remove mono-*

but afterward the theme of Ubuntu changed to an ugly one. It seems that some of the themes depend on mono!!!

My question is how can I revert packages removed by that command?

share|improve this question
The command you ran removes all packages starting with mono- some of these have nothing to do with mono the free software implementation of .net. but are actually fonts and themes. They don't depend on mono at all. Maybe you should spend less time lessening to conspiracy theories and more time learning about ubuntu before you run any more commandline commands you don't understand. – trampster Sep 16 '12 at 11:52
up vote 6 down vote accepted

That's because mono-* will mark more than just the mono framework for removal. It also removes some fonts and themes of the standard installation. Use

sudo apt-get install --no-install-recommends ubuntu-desktop

to reinstall the packages you removed accidentally. After that, you might need to reassign Ambiance as theme in the System Settings (under Appearance) and log off and on again.

share|improve this answer
Thank you. It worked. – M.Elmi Aug 11 '12 at 7:52

You removed MonoDevelop and it affected the theme? That's strange but you can install mono easily:

Install via the software center

sudo apt-get install mono-complete
share|improve this answer

You likely removed the package ubuntu-mono. This package contains monochrome icons, which are used for Ubuntu's consistent visual style. It may also have caused various reverse dependencies, such as themes, to have been removed.

jP_wanN's answer will help you fix the problem.

share|improve this answer

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.