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


Joined: 05 Oct 2004 Posts: 388 Location: US OH
|
Posted: Fri Jul 18, 2008 8:45 pm Post subject: emerge world vs. emerge -u wolrd |
|
|
What is the difference between emerge world and emerge -u world? (Just Curious)
Damoncf |
|
Back to top |
|
 |
Veldrin Veteran


Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Fri Jul 18, 2008 8:59 pm Post subject: |
|
|
-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 |
|
 |
damoncf Guru


Joined: 05 Oct 2004 Posts: 388 Location: US OH
|
Posted: Fri Jul 18, 2008 9:12 pm Post subject: |
|
|
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 |
|
 |
Veldrin Veteran


Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Fri Jul 18, 2008 9:17 pm Post subject: |
|
|
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 |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sat Jul 19, 2008 12:06 am Post subject: |
|
|
Or use the big command :
Code: |
# emerge -uDNv world
|
|
|
Back to top |
|
 |
hielvc Advocate

Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Sat Jul 19, 2008 12:14 am Post subject: |
|
|
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 |
|
 |
damoncf Guru


Joined: 05 Oct 2004 Posts: 388 Location: US OH
|
Posted: Sat Jul 19, 2008 8:24 pm Post subject: |
|
|
Thanx for the quick responses. That answered my question.
Damoncf |
|
Back to top |
|
 |
|