Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -options
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Jaygo333
n00b
n00b


Joined: 07 Jul 2008
Posts: 2

PostPosted: Mon Jul 07, 2008 3:49 pm    Post subject: emerge -options Reply with quote

1. I was surfing the forum looking at different emerge options that keep popping up.
Which commands are needed and which are unnecessary.
I can't seem to tell.

emerge -uapvDtN
or
emerge -tva -DNu
or
emerge -uavDN
or

I know there are more out there but don't know which emerge options to use daily.

2. I am Upgrading from 2007.0 to 2008.0 and was wondering the command options used.
Is this the right order too?

First , emerge --sync
Then, emerge portage <--- is this step necessary
Then, One of the commands above.
Then, emerge - e system
Then, emerge -e world

Done upgrading now cleaup so,

First, emerge -av --depclean
Then, revdep-rebuild -- -p -v
Then eclean -dist -df
Back to top
View user's profile Send private message
AllenJB
Veteran
Veteran


Joined: 02 Sep 2005
Posts: 1151
Location: Canterbury, Kent

PostPosted: Mon Jul 07, 2008 5:24 pm    Post subject: Reply with quote

1) You can see details of all the available options and what they do with "emerge --help" and "man emerge"

2) To upgrade from 2007.0 to 2008.0, you need to do the following:
# Update the local copy of the package repository
emerge --sync
# If a new verison of portage is available, update portage now
# Update the profile symlink - the easiest way to do this is with eselect (in the eselect package)
eselect profile list
# Where # is the number of the profile you want to use in the output of profile list
eselect profile set #
# Update all packages where USE flags have changed (which is mostly what changes with profiles)
emerge -uDNva world
# Optional cleanup steps
revdep-rebuild -- -a
emerge --depclean -a
# Whatever else you wish to do

Using emerge -e world or emerge -e system for a profile update is (generally) not necessary and completely pointless.
_________________
http://gentoo-wiki.com :: http://lug.org.uk :: http://www.linux.org/groups/ :: User Blogs
Back to top
View user's profile Send private message
Jaygo333
n00b
n00b


Joined: 07 Jul 2008
Posts: 2

PostPosted: Wed Jul 09, 2008 12:20 pm    Post subject: Reply with quote

AllenJB wrote:
Using emerge -e world or emerge -e system for a profile update is (generally) not necessary and completely pointless.


^
The above would only be used in the case if gcc or glib were new versions. As is the case with 2008.0
Back to top
View user's profile Send private message
AllenJB
Veteran
Veteran


Joined: 02 Sep 2005
Posts: 1151
Location: Canterbury, Kent

PostPosted: Wed Jul 09, 2008 1:40 pm    Post subject: Reply with quote

Jaygo333 wrote:
AllenJB wrote:
Using emerge -e world or emerge -e system for a profile update is (generally) not necessary and completely pointless.


^
The above would only be used in the case if gcc or glib were new versions. As is the case with 2008.0


gcc / glibc versions aren't generally tied to profiles. And gcc has its own upgrade guide which should be followed seperately anyway.
_________________
http://gentoo-wiki.com :: http://lug.org.uk :: http://www.linux.org/groups/ :: User Blogs
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 - 5 Hours
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