Why is package-y getting pulled in when I emerge package-x

gentoo.gif

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.

Related Posts

Comments are closed.