Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -u system necessary?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jtp755
l33t
l33t


Joined: 01 Sep 2003
Posts: 691
Location: USA

PostPosted: Mon Sep 15, 2003 9:04 pm    Post subject: emerge -u system necessary? Reply with quote

Is it necessary to do an emerge -u system after the emerge sync to update the portage tree?
Back to top
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Mon Sep 15, 2003 9:38 pm    Post subject: Reply with quote

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


Joined: 01 Sep 2003
Posts: 691
Location: USA

PostPosted: Mon Sep 15, 2003 9:42 pm    Post subject: Reply with quote

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


Joined: 09 Sep 2003
Posts: 641

PostPosted: Mon Sep 15, 2003 10:36 pm    Post subject: Reply with quote

'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:
Code:
emerge -u mplayer
will try to update mplayer to its latest release, if there is a newer one available.

Code:
emerge -u system
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.

Code:
emerge -u world
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
View user's profile Send private message
jtp755
l33t
l33t


Joined: 01 Sep 2003
Posts: 691
Location: USA

PostPosted: Mon Sep 15, 2003 10:49 pm    Post subject: Reply with quote

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


Joined: 01 Sep 2003
Posts: 691
Location: USA

PostPosted: Tue Sep 16, 2003 12:50 am    Post subject: Reply with quote

Is it safer todo the emerge -u system after you have a running system?
Back to top
View user's profile Send private message
scriptkiddie
l33t
l33t


Joined: 30 Mar 2003
Posts: 955

PostPosted: Tue Sep 16, 2003 12:53 am    Post subject: Reply with quote

just go ahead and compile your system to your liking.. then get it running.. then do all the updates and extra configuring :D 8)
Back to top
View user's profile Send private message
jtp755
l33t
l33t


Joined: 01 Sep 2003
Posts: 691
Location: USA

PostPosted: Tue Sep 16, 2003 12:59 am    Post subject: Reply with quote

thanks
Back to top
View user's profile Send private message
Peaceable Frood
Guru
Guru


Joined: 06 Apr 2003
Posts: 338
Location: New Jersey, USA

PostPosted: Tue Sep 16, 2003 2:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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