Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GF8: Why is <y> getting pulled in when I emerge <x>?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions
View previous topic :: View next topic  
Author Message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20506

PostPosted: Wed May 14, 2003 2:24 am    Post subject: GF8: Why is <y> getting pulled in when I emerge <x Reply with quote

Navigation: [Gentoo Fundamentals] [Table of Contents]

Q: Why does portage want to install package <y> as a dependency of <x>?

A: Use emerge's --tree option to find out.
Code:
emerge --tree --pretend --verbose <x>

This will give you a tree showing which packages are dependencies of others. These dependencies can sometimes be controlled by USE flags, so for instance, if you're trying to install a headless server but packages are trying to pull in xorg-x11 as a dependency, make sure you've got -motif in your USE flags as well as -X -kde -qt -gnome -gtk etc. If you're unsure about how to use USE flags, see the handbook section here.

If you still don't find out what tries to pull in the unwanted package, try to hard mask it, see GF5.

Please post any feedback or requests for further help here: emerge world intsalling unwanted packages


2006-01-04: Rewritten. --Maedhros
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum