Server Fault is a question and answer site for system and network administrators. 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

I want to install some package with not very useful dependencies (for example I want xorg-x11 without any xterm, xclock etc) and when I try to put dependencies in package.mask portage just complains about masked packages instead of ignoring them.

I think I had a solution for this but I'm forgetting it every time.

share|improve this question
If my answer helped, you might want to mark it as the accepted answer, to help future google visitors – Bill Weiss Jul 8 '09 at 5:57
Recently, the xorg-x11 stopped depending on xterm & cia. – Denilson Sá Apr 28 '10 at 13:32
up vote 6 down vote accepted

/etc/portage/package.mask will keep packages from being installed if they are optional. Otherwise they'll just block installation.

You probably want to find use flags for what you're looking for.

In the case of xorg-x11, it's a meta package that pulls in lots of stuff. You could install the dependencies by themselves if that's all you want.

share|improve this answer
There's a name I recognise from the past. Have an upvote. – Dan Carley Jun 18 '09 at 22:16
Thanks! From the Gentoo forums, I assume? – Bill Weiss Jun 22 '09 at 14:54

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.