Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Frequently Asked Questions
  • Search

GF8: Why is <y> getting pulled in when I emerge <x>?

Some of the most commonly heard questions in the Gentoo Community, along with answers.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

GF8: Why is <y> getting pulled in when I emerge <x

  • Quote

Post by pjp » Wed May 14, 2003 2:24 am

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: Select all

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 [topic=33534]GF5[/topic].

Please post any feedback or requests for further help here: [topic=345191]emerge world intsalling unwanted packages[/topic]


2006-01-04: Rewritten. --Maedhros
Quis separabit? Quo animo?
Top
Post Reply
1 post • Page 1 of 1

Return to “Frequently Asked Questions”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic