View previous topic :: View next topic |
Author |
Message |
jtp755 l33t
Joined: 01 Sep 2003 Posts: 691 Location: USA
|
Posted: Mon Sep 15, 2003 9:04 pm Post subject: emerge -u system necessary? |
|
|
Is it necessary to do an emerge -u system after the emerge sync to update the portage tree? |
|
Back to top |
|
|
The Mountain Man l33t
Joined: 03 Sep 2003 Posts: 643
|
Posted: Mon Sep 15, 2003 9:38 pm Post subject: |
|
|
It's my understanding that "emerge sync" updates the Portage tree on your system while "emerge -u system" will update all critical system packages to the latest version number. |
|
Back to top |
|
|
jtp755 l33t
Joined: 01 Sep 2003 Posts: 691 Location: USA
|
Posted: Mon Sep 15, 2003 9:42 pm Post subject: |
|
|
but when you run emerge sync it only does portage and then when its done it says it needs to be updated so how does it gt teh latest and then need updating? im just curious. |
|
Back to top |
|
|
mike4148 l33t
Joined: 09 Sep 2003 Posts: 641
|
Posted: Mon Sep 15, 2003 10:36 pm Post subject: |
|
|
'emerge sync' just grabs all of the new metainformation (ebuilds) about
software packages - i.e., what the latest versions are, what's stable/unstable, where to download,
how to build/install, etc. 'emerge -u' actually upgrades the named package(s) if a newer
version is available. Plus, there's 'emerge -u system' and 'emerge -u world', which
upgrade the core components of your system
and everything else, respectively.
For example:
will try to update mplayer to its latest release, if there is a newer one available.
will try to update all of the core components of your system (gcc, glibc, binutils,
system layout stuff, etc.) should any newer versions be available.
will try to update the rest of the software on your system, should newer versions
be available.
That's a really basic overview. Much more info is available in the man page for emerge; especially, look for the
-D option and exactly what 'system' and 'world' mean for some extra info.
What it all boils down to is the following "standard procedure" for updating everything (e.g., I do some variation of it
once a month):
Code: | emerge sync
emerge -u system
emerge -u world
|
|
|
Back to top |
|
|
jtp755 l33t
Joined: 01 Sep 2003 Posts: 691 Location: USA
|
Posted: Mon Sep 15, 2003 10:49 pm Post subject: |
|
|
everytime i try todo an emerge -u system after the emerge sync during the install i either get a hang up or a kernel panic? Any ideas on that....im going to skip it till my system is back up and running. |
|
Back to top |
|
|
jtp755 l33t
Joined: 01 Sep 2003 Posts: 691 Location: USA
|
Posted: Tue Sep 16, 2003 12:50 am Post subject: |
|
|
Is it safer todo the emerge -u system after you have a running system? |
|
Back to top |
|
|
scriptkiddie l33t
Joined: 30 Mar 2003 Posts: 955
|
Posted: Tue Sep 16, 2003 12:53 am Post subject: |
|
|
just go ahead and compile your system to your liking.. then get it running.. then do all the updates and extra configuring |
|
Back to top |
|
|
jtp755 l33t
Joined: 01 Sep 2003 Posts: 691 Location: USA
|
Posted: Tue Sep 16, 2003 12:59 am Post subject: |
|
|
thanks |
|
Back to top |
|
|
Peaceable Frood Guru
Joined: 06 Apr 2003 Posts: 338 Location: New Jersey, USA
|
Posted: Tue Sep 16, 2003 2:25 am Post subject: |
|
|
I as well as most people recommend doing an emerge -u or -U (depending on unstable packages) world over emerge -u system. _________________ "Our enemies are innovative and resourceful, and so are we, they never stop thinking about new ways to harm our country and our people, and neither do we." George W. Bush |
|
Back to top |
|
|
|