Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When you install Debian linux, there's a dialog in the graphical install system which asks after several steps in which environment you want to stay. There are options between "File environment", "Web environment", "Graphical environment" and some others.

Unluckily, I've also marked the "Graphical environment" on my newly set-up server and want to remove this option. Is there a way to do it? Every time I update my system, packages like Iceweasel, X and other gui related software gets updated too...

And, how is this called? If I search for "environment debian linux" I can't find any results.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I'm not exactly sure what you're referring to but it is most likely a meta package. If you uninstall the programs you want to remove, that should stop them from being updated and it should also remove the meta package.

You can check which metapackages you have installed like this:

apt-cache show $(dpkg-query -Wf '${Package}\n') | 
  awk '$1 == "Package:" { pkg = $2 }; 
      $1 == "Section:" && $2 ~ /metapackage/ { print pkg }'

In any case, the easiest thing to do would be to remove the packages you don't want. Something like:

sudo apt-get remove gnome*  xorg* iceweasel
share|improve this answer

Your Answer

 
discard

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.