View previous topic :: View next topic |
Author |
Message |
pYrania Retired Dev
Joined: 27 Oct 2002 Posts: 650 Location: Cologne - Germany
|
Posted: Mon Nov 18, 2002 4:19 pm Post subject: Different behavior of emerge -up world/system. Bug/Feature? |
|
|
On my daily updates i just figured out, emerge -up world will show up another merge order than emerge -up system.
There should not be any difference between those updates, right?
Considering this with two more depending ebuilds could cause some real pain..
Code: | root@powerix: ~/brainfuck $ emerge -up world
These are the packages that I would merge, in order.
Calculating world dependencies ...done!
[ebuild U ] sys-devel/flex-2.5.23
[ebuild U ] sys-apps/baselayout-1.8.5.2
-(17:13/18-Nov-02)-(368/pts/1)-
root@powerix: ~/brainfuck $ 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.2
[ebuild U ] sys-devel/flex-2.5.23
|
|
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Mon Nov 18, 2002 5:40 pm Post subject: |
|
|
the order of the packages doesnt really matter, as long as a package has got all dependancies installed before it. _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
pYrania Retired Dev
Joined: 27 Oct 2002 Posts: 650 Location: Cologne - Germany
|
Posted: Mon Nov 18, 2002 6:06 pm Post subject: |
|
|
hm
i thought of gcc update after general system updates
this would lead into somehow 'outdated' packages, due to old compiler instructions. |
|
Back to top |
|
|
pYrania Retired Dev
Joined: 27 Oct 2002 Posts: 650 Location: Cologne - Germany
|
Posted: Mon Nov 18, 2002 9:51 pm Post subject: |
|
|
just to prove, this happens quite often
Code: |
-(22:48/18-Nov-02)-(144/pts/3)-
root@powerix: ~/brainfuck $ emerge -up world
These are the packages that I would merge, in order.
Calculating world dependencies ...done!
[ebuild U ] sys-apps/texinfo-4.3
[ebuild U ] sys-apps/baselayout-1.8.5.3
-(22:48/18-Nov-02)-(145/pts/3)-
root@powerix: ~/brainfuck $ 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.3
[ebuild U ] sys-apps/texinfo-4.3
|
|
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Nov 18, 2002 10:13 pm Post subject: |
|
|
I suspect it has to do with the relative order of things in /etc/make.profile/packages and /var/cache/edb/world. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
pYrania Retired Dev
Joined: 27 Oct 2002 Posts: 650 Location: Cologne - Germany
|
Posted: Tue Nov 19, 2002 8:18 pm Post subject: |
|
|
That's crap.
Since texinfo is served later than baselayout, according to /etc/make.profile/packages sys-apps/baselayout should _always_ be the first thing to merge.
Even if emerge -u world would first check world file and then the systemfile. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Nov 19, 2002 8:40 pm Post subject: |
|
|
pYrania wrote: | That's crap.
Since texinfo is served later than baselayout, according to /etc/make.profile/packages sys-apps/baselayout should _always_ be the first thing to merge.
Even if emerge -u world would first check world file and then the systemfile. |
Am I supposed to feel insulted by the "crap" comment? I must confess I don't understand what is so critical about the problem in this thread. In any case, I don't follow your logic. Let's say that texinfo is in your world file. Maybe Portage follows an algorithm like "push all packages in the world file that have updates available onto the list. now go through and append their dependencies. repeat as necessary." Wouldn't that make texinfo appear before baselayout? I was just suggesting a possibility. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|