Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --deep option inconsistency
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 510

PostPosted: Thu Dec 12, 2002 11:18 am    Post subject: emerge --deep option inconsistency Reply with quote

When using the --deep (undocumented) option with emerge I notice it not only pulls "deeper" for updating packages, it also list the packages that will be emerged in a different order then if not used, here and #emerge system example with and without --deep:
Code:
solar root # emerge -up system

These are the packages that I would merge, in order.

Calculating system dependencies ...done!
[ebuild    U ] sys-apps/baselayout-1.8.5.5 [1.8.5.4-r0]
[ebuild    U ] sys-devel/perl-5.8.0-r3 [5.6.1-r7]
[ebuild    U ] sys-apps/iptables-1.2.7a-r1 [1.2.7a-r0]
[ebuild    U ] sys-libs/readline-4.3-r4 [4.3-r3]

solar root # emerge -up --deep system

These are the packages that I would merge, in order.

Calculating system dependencies ...done!
[ebuild    U ] sys-devel/perl-5.8.0-r3 [5.6.1-r7]
[ebuild    U ] sys-libs/readline-4.3-r4 [4.3-r3]
[ebuild    U ] media-libs/fontconfig-2.1 [2.0-r4]
[ebuild    U ] sys-apps/baselayout-1.8.5.5 [1.8.5.4-r0]
[ebuild    U ] sys-apps/iptables-1.2.7a-r1 [1.2.7a-r0]


The different order seam to repeat wheter same packages are listed or not (aka --deep triggers more to emerge). I'm just currious to know if this is a known behaviour and if it makes a difference or at least if there exist any sane logical reason for this?
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
aja
l33t
l33t


Joined: 26 Aug 2002
Posts: 705
Location: Edmonton, Canada

PostPosted: Thu Dec 12, 2002 4:02 pm    Post subject: Reply with quote

This is just a guess, but perhaps it is because the flat emerge -u does a linear search, while --deep does a recursive one - which (if true) would provoke a different order. Not sure that it matters provided that dependencies are listed before dependants.
Back to top
View user's profile Send private message
Lockup
Guru
Guru


Joined: 25 Jul 2002
Posts: 430

PostPosted: Thu Dec 12, 2002 4:48 pm    Post subject: Reply with quote

--deep? never heard of that... *tries*

whered you find out about it if its undocumented?:P
Back to top
View user's profile Send private message
Lockup
Guru
Guru


Joined: 25 Jul 2002
Posts: 430

PostPosted: Thu Dec 12, 2002 4:50 pm    Post subject: Reply with quote

eek? -up world shows nothing but...:
root@Beast freezer # emerge -up world --deep

These are the packages that I would merge, in order.

Calculating world dependencies ...done!
[ebuild U ] sys-apps/cronbase-0.2.1-r1 [0.2.1-r0]
[ebuild U ] media-video/nvidia-kernel-1.0.3123-r2 [1.0.3123-r1]
[ebuild U ] dev-perl/gtk-perl-0.7008-r9 [0.7008-r7]
[ebuild U ] x11-libs/qt-3.1.0-r1 [3.0.5-r2]
[ebuild UD] x11-libs/libast-0.4-r1 [0.5-r0]
[ebuild U ] x11-libs/gtk+-2.0.9 [2.0.8-r0]
[ebuild U ] media-libs/svgalib-1.4.3-r3 [1.4.3-r2]
[ebuild U ] media-libs/win32codecs-0.90 [0.60-r1]
[ebuild N ] kde-base/kdelibs-3.0.4-r1
[ebuild U ] media-libs/divx4linux-20020418-r1 [20020418-r0]
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 510

PostPosted: Thu Dec 12, 2002 5:08 pm    Post subject: Reply with quote

Lockup wrote:
--deep? never heard of that... *tries*

whered you find out about it if its undocumented?

Well the only documentation are the forums, that's how I came across it... while "-u world" just go check your world file for newer and that the dependencies are satisfying, by adding "--deep" it looks, exactly, deeper to see if there is newer versions as well of the dependencies to those listed in the world file.

I don't know why it's "undocumneted" (I personally hate that term, sounds as something related to M$), but I guess they (the dev team) have their reasons. Like it comes with some "risks" to use. personally I use it most with --pretend and then emerge individually. That way it also ends up in the world file...
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
Lockup
Guru
Guru


Joined: 25 Jul 2002
Posts: 430

PostPosted: Thu Dec 12, 2002 5:10 pm    Post subject: Reply with quote

nods, well its trying to emerge kdelibs and kde-env...yet i dont have any kde-ish things and i have -kde -gnome in USE flags...weird, ill do it individually too i guess
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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