* [gentoo-user] ebuild dependencies and the --tree switch
@ 2006-03-24 17:41 Daniel Rolls
2006-04-02 1:37 ` Jeremy Olexa
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Rolls @ 2006-03-24 17:41 UTC (permalink / raw
To: gentoo-user
Hi,
I'm trying to understand how ebuild dependencies work
in gentoo. If I type:
emerge -vpu --deep --tree kde-base/kdebase
I see the package x11-themes/gnome-icon-theme-2.12.1
at one of the roots of the tree. The kdebase version
is 3.5.1-r3. Firstly how can anything other than
kde-base/kdebase be at the root of the tree? Surely
with this command everything installed or upgraded
must either directly or indirectly depend on
kde-base/kdebase? Assuming that
x11-themes/gnome-icon-theme must be a direct dependent
of kde-base/kdebase I still cannot see any references
to gnome-icon-theme in
/usr/portage/kde-base/kdebase/kdebase-3.5.1-r3.ebuild.
I have tried adding the -e switch to emerge but
x11-themes/gnome-icon-theme still appears at a root of
the tree?
Can anybody explain or refer to an explanation of how
dependencies work in Gentoo?
Dan
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] ebuild dependencies and the --tree switch
2006-03-24 17:41 [gentoo-user] ebuild dependencies and the --tree switch Daniel Rolls
@ 2006-04-02 1:37 ` Jeremy Olexa
0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Olexa @ 2006-04-02 1:37 UTC (permalink / raw
To: gentoo-user
Daniel Rolls wrote:
> Can anybody explain or refer to an explanation of how
> dependencies work in Gentoo?
Well, when you use the -p flag it says: "These are the packages that I
would merge, in reverse order:" I interpret that as being package A
needs B so B will be installed BEFORE A.
Are you following me here?
With that being said, if B needs deps too then depB will be installed
before B AND before A. SO...if x11-themes/gnome-icon-theme is at the
root of a tree it has to be the first dep needed by a dep of kde (or
directly by kde) which portage has so graciously figured out for you.
Or I could tell you that you just need to read the tree output from the
bottom up to figure it out ;) I encourage you to try "emerge -pve
xorg-x11" with and without the --tree flag and perhaps it will make more
sense.
Hope that helps,
Jeremy
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-02 1:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-24 17:41 [gentoo-user] ebuild dependencies and the --tree switch Daniel Rolls
2006-04-02 1:37 ` Jeremy Olexa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox