Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge world vs. emerge -u wolrd
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
damoncf
Guru
Guru


Joined: 05 Oct 2004
Posts: 388
Location: US OH

PostPosted: Fri Jul 18, 2008 8:45 pm    Post subject: emerge world vs. emerge -u wolrd Reply with quote

What is the difference between emerge world and emerge -u world? (Just Curious)
Damoncf
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Fri Jul 18, 2008 8:59 pm    Post subject: Reply with quote

-u sets the update flag, which means, any package that does not come in newer version than the one installed, won't be emerged.
Back to top
View user's profile Send private message
damoncf
Guru
Guru


Joined: 05 Oct 2004
Posts: 388
Location: US OH

PostPosted: Fri Jul 18, 2008 9:12 pm    Post subject: Reply with quote

Then what would emerge world do? Does it emerge everything in the world file/directory? The list I get with emerge -p world is long but I do not believe it to be everything in the world file.
Damoncf
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Fri Jul 18, 2008 9:17 pm    Post subject: Reply with quote

emerge world basically does a emerge `cat /var/lib/portage/world`.

It emerges any package that is in the world file.

the world file only contains packages that you have emerge by name (i.e if you do "emerge kde", the you will find kde-base/kde in the world file, but no nescessary all dependencies)

I think what you really wanted to know, is how to update the entire world: emerge -Du world.

cheers
V.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Jul 19, 2008 12:06 am    Post subject: Reply with quote

Or use the big command :

Code:

# emerge -uDNv world
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sat Jul 19, 2008 12:14 am    Post subject: Reply with quote

To emerge everything " emerge world -e " though with portage-2.2 it will be the same as {emerge world -e} minus {emerge system -e}. To see how many files are in your world
Code:
 wc -l /var/lib/portage/world

_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
damoncf
Guru
Guru


Joined: 05 Oct 2004
Posts: 388
Location: US OH

PostPosted: Sat Jul 19, 2008 8:24 pm    Post subject: Reply with quote

Thanx for the quick responses. That answered my question.

Damoncf
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