View previous topic :: View next topic |
Author |
Message |
MoonWalker Guru


Joined: 04 Jul 2002 Posts: 511
|
Posted: Thu Dec 12, 2002 11:18 am Post subject: emerge --deep option inconsistency |
|
|
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 |
|
 |
aja l33t


Joined: 26 Aug 2002 Posts: 705 Location: Edmonton, Canada
|
Posted: Thu Dec 12, 2002 4:02 pm Post subject: |
|
|
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 |
|
 |
Lockup Guru


Joined: 25 Jul 2002 Posts: 430
|
Posted: Thu Dec 12, 2002 4:48 pm Post subject: |
|
|
--deep? never heard of that... *tries*
whered you find out about it if its undocumented? |
|
Back to top |
|
 |
Lockup Guru


Joined: 25 Jul 2002 Posts: 430
|
Posted: Thu Dec 12, 2002 4:50 pm Post subject: |
|
|
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 |
|
 |
MoonWalker Guru


Joined: 04 Jul 2002 Posts: 511
|
Posted: Thu Dec 12, 2002 5:08 pm Post subject: |
|
|
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 |
|
 |
Lockup Guru


Joined: 25 Jul 2002 Posts: 430
|
Posted: Thu Dec 12, 2002 5:10 pm Post subject: |
|
|
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 |
|
 |
|