Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
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
1  
Recently, the xorg-x11 stopped depending on xterm & cia. –  Denilson Sá Apr 28 '10 at 13:32

1 Answer 1

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
2  
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

 
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.