View previous topic :: View next topic |
Author |
Message |
TM001 n00b
Joined: 12 Sep 2002 Posts: 21 Location: Alkmaar, The Netherlands
|
Posted: Mon Oct 21, 2002 11:19 am Post subject: emerge -u world behaviour |
|
|
I experience the following on my gentoo 1.4rc1 workstation:
Code: |
linux root # emerge clean
>>> No outdated packages were found on your system.
linux root # emerge -pu world
These are the packages that I would merge, in order.
Calculating world dependencies ...done!
linux root # emerge xfree -p
These are the packages that I would merge, in order.
Calculating dependencies ...done!
[ebuild N ] media-libs/fontconfig-2.0
[ebuild N ] app-arch/cabextract-0.6
[ebuild U ] x11-base/xfree-4.2.1
linux root # X -version
XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
|
I dont quite understand this, shouldnt xfree be listed in "emerge -pu world" ? I have a gentoo 1.2 machine aswell and this one did display it in -u world. Both machines have 4.2.0 installed. Can someone explain this behaviour to me? Am I missing something? |
|
Back to top |
|
|
dingo n00b
Joined: 18 Aug 2002 Posts: 58
|
Posted: Mon Oct 21, 2002 1:18 pm Post subject: |
|
|
No No * shoves someone away * let me answer this the way everybody else has to my funky portage problems
emerge rsync; emerge portage
yay!
anyway whats an emerge -up xfree look like? |
|
Back to top |
|
|
ebichu Apprentice
Joined: 03 Jul 2002 Posts: 231 Location: Manchester, England
|
Posted: Mon Oct 21, 2002 1:22 pm Post subject: |
|
|
It's because x11-base/xfree is not listed in /var/cache/edb/world and no other updates depend on x11-base/xfree-4.2.1 or higher.
This is a feature - the world only includes packages that were emerged explicitly - not those emerged as dependencies. It would be nice if the portage system maintained a similar list containing every installed package so you could run emerge -u everything or whatever. _________________ Ebichu wa chiizu ga daisuki dechu! |
|
Back to top |
|
|
TM001 n00b
Joined: 12 Sep 2002 Posts: 21 Location: Alkmaar, The Netherlands
|
Posted: Mon Oct 21, 2002 2:39 pm Post subject: |
|
|
Indeed, xfree is not listed in /var/cache/edb/world , that explains it.... Weird bug... errr, feature. I have always thought the "world" was "everything" as the word suggests (to me at least). Im gonna shove all my installed packages into this file then, no prob. Thanx for explaining. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Mon Oct 21, 2002 4:39 pm Post subject: |
|
|
You can also check emerge -pu -deep world and emerge -pe world. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Mon Oct 21, 2002 5:36 pm Post subject: |
|
|
Nice to know this. I thought world means all emerged packages, too.
Carlo |
|
Back to top |
|
|
ebichu Apprentice
Joined: 03 Jul 2002 Posts: 231 Location: Manchester, England
|
Posted: Tue Oct 22, 2002 1:32 pm Post subject: |
|
|
What does the -deep option do? On my reasonably up-to-date system (up-to-date enough that emerge -pu world shows nothing to do) the following commands all generate the same (long) list:
Code: | # emerge -pe world
# emerge -p -deep world
# emerge -pu -deep world
# emerge -pe -deep world
# emerge -peu -deep world
|
However, the following command generated a much shorter list (only a couple of packages in my case):
Code: | # emerge -pu --deep world
|
(Note that I used --deep, not -deep in the above.)
I take it -deep and --deep are fairly new/experimental options as they don't appear to be documented yet? _________________ Ebichu wa chiizu ga daisuki dechu! |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Oct 22, 2002 4:28 pm Post subject: |
|
|
--deep is correct. Maybe "-deep" is equivalent to "-d -e -e -p", which includes --emptytree, which would explain your really long list. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
ebichu Apprentice
Joined: 03 Jul 2002 Posts: 231 Location: Manchester, England
|
Posted: Thu Nov 21, 2002 5:14 pm Post subject: |
|
|
rac wrote: | --deep is correct. Maybe "-deep" is equivalent to "-d -e -e -p", which includes --emptytree, which would explain your really long list. |
Doh! That would explain it!
Sorry for coming back to this thread after such a long time, but I just wanted to say that "--deep" seems to be a really useful option, despite not being documented yet! _________________ Ebichu wa chiizu ga daisuki dechu! |
|
Back to top |
|
|
|