Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -u world behaviour
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
TM001
n00b
n00b


Joined: 12 Sep 2002
Posts: 21
Location: Alkmaar, The Netherlands

PostPosted: Mon Oct 21, 2002 11:19 am    Post subject: emerge -u world behaviour Reply with quote

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
View user's profile Send private message
dingo
n00b
n00b


Joined: 18 Aug 2002
Posts: 58

PostPosted: Mon Oct 21, 2002 1:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
ebichu
Apprentice
Apprentice


Joined: 03 Jul 2002
Posts: 231
Location: Manchester, England

PostPosted: Mon Oct 21, 2002 1:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
TM001
n00b
n00b


Joined: 12 Sep 2002
Posts: 21
Location: Alkmaar, The Netherlands

PostPosted: Mon Oct 21, 2002 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Oct 21, 2002 4:39 pm    Post subject: Reply with quote

You can also check emerge -pu -deep world and emerge -pe world.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Mon Oct 21, 2002 5:36 pm    Post subject: Reply with quote

Nice to know this. I thought world means all emerged packages, too.


Carlo
Back to top
View user's profile Send private message
ebichu
Apprentice
Apprentice


Joined: 03 Jul 2002
Posts: 231
Location: Manchester, England

PostPosted: Tue Oct 22, 2002 1:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Oct 22, 2002 4:28 pm    Post subject: Reply with quote

--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
View user's profile Send private message
ebichu
Apprentice
Apprentice


Joined: 03 Jul 2002
Posts: 231
Location: Manchester, England

PostPosted: Thu Nov 21, 2002 5:14 pm    Post subject: Reply with quote

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
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