| View previous topic :: View next topic |
| Author |
Message |
Jaygo333 n00b

Joined: 07 Jul 2008 Posts: 2
|
Posted: Mon Jul 07, 2008 3:49 pm Post subject: emerge -options |
|
|
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 |
|
 |
AllenJB Veteran


Joined: 02 Sep 2005 Posts: 1151 Location: Canterbury, Kent
|
Posted: Mon Jul 07, 2008 5:24 pm Post subject: |
|
|
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 |
|
 |
Jaygo333 n00b

Joined: 07 Jul 2008 Posts: 2
|
Posted: Wed Jul 09, 2008 12:20 pm Post subject: |
|
|
| 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 |
|
 |
AllenJB Veteran


Joined: 02 Sep 2005 Posts: 1151 Location: Canterbury, Kent
|
Posted: Wed Jul 09, 2008 1:40 pm Post subject: |
|
|
| 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 |
|
 |
|