| View previous topic :: View next topic |
| Author |
Message |
SLBMEH Apprentice


Joined: 16 Aug 2003 Posts: 299 Location: Pittsburgh, PA
|
Posted: Sat Jan 19, 2008 7:35 pm Post subject: amd64 install guide |
|
|
Two steps that aren't listed in the install guide that I do every install and I think should be mentioned.
after emerge sync:
and an optional step for if you updated your cflags earlier:
| Code: | | emerge --emptytree system && emerge --emptytree system |
I don't know how efficient these steps may be or who else does them, but if I change my options I like to have the whole system built on it before I start my installation. What is everyone else's thoughts? _________________ Steve - Semper Fi
|
|
| Back to top |
|
 |
Naib Advocate


Joined: 21 May 2004 Posts: 3941 Location: UK - Birmingham
|
Posted: Sat Jan 19, 2008 9:06 pm Post subject: Re: amd64 install guide |
|
|
| SLBMEH wrote: | Two steps that aren't listed in the install guide that I do every install and I think should be mentioned.
after emerge sync:
|
if portage doesn't exist you can't sync
IF emerge --sync finds a newer portage IT will install that first and start the emerge again _________________ A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen. |
|
| Back to top |
|
 |
SLBMEH Apprentice


Joined: 16 Aug 2003 Posts: 299 Location: Pittsburgh, PA
|
Posted: Sat Jan 19, 2008 9:10 pm Post subject: Re: amd64 install guide |
|
|
| Naib wrote: | | SLBMEH wrote: | Two steps that aren't listed in the install guide that I do every install and I think should be mentioned.
after emerge sync:
|
if portage doesn't exist you can't sync
IF emerge --sync finds a newer portage IT will install that first and start the emerge again |
It suggests it after a sync, but it doesn't update it unless you run the command. Some new users may overlook this message. I know I wouldn't read the output messages if it was successful when I first started using gentoo. _________________ Steve - Semper Fi
|
|
| Back to top |
|
 |
Naib Advocate


Joined: 21 May 2004 Posts: 3941 Location: UK - Birmingham
|
Posted: Sat Jan 19, 2008 9:29 pm Post subject: |
|
|
doesn't matter if you missed the message or not
IF you do emerge world -uvDp you will notice that portage is 1st on the list and that it will reload to use the newer portage once it is installed. No user intervention is needed _________________ A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen. |
|
| Back to top |
|
 |
SLBMEH Apprentice


Joined: 16 Aug 2003 Posts: 299 Location: Pittsburgh, PA
|
Posted: Sat Jan 19, 2008 9:45 pm Post subject: |
|
|
You're not going to update world during an install because you need to install packages that you need that aren't included in the tarball. _________________ Steve - Semper Fi
|
|
| Back to top |
|
 |
Naib Advocate


Joined: 21 May 2004 Posts: 3941 Location: UK - Birmingham
|
Posted: Sat Jan 19, 2008 9:47 pm Post subject: |
|
|
no but from the install guide it tells you to sync and then emerge system
portage is part of the system profile
if a newer portage is found it will be emerged first and emerging will continue with the newer portage _________________ A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen. |
|
| Back to top |
|
 |
SLBMEH Apprentice


Joined: 16 Aug 2003 Posts: 299 Location: Pittsburgh, PA
|
Posted: Sat Jan 19, 2008 9:54 pm Post subject: |
|
|
The AMD64 Handbook goes from sync to locales to timezone to kernel. It skips over emerge system. _________________ Steve - Semper Fi
|
|
| Back to top |
|
 |
Naib Advocate


Joined: 21 May 2004 Posts: 3941 Location: UK - Birmingham
|
Posted: Sat Jan 19, 2008 10:04 pm Post subject: |
|
|
I forced downgrade of a few system packages and did this:
| Code: |
Fluid jrb # emerge system -vp
These are the packages that would be merged, in order:
Calculating system dependencies... done!
[ebuild U ] sys-apps/portage-2.1.4 [2.1.3.19] USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl" 353 kB
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U ] sys-apps/busybox-1.8.2 [1.7.4] USE="pam -debug -make-symlinks -savedconfig (-selinux) -static" 1,725 kB
[ebuild U ] app-shells/bash-3.2_p33 [3.2_p25] USE="nls -afs -bashlogger -plugins -vanilla" 15 kB
[ebuild U ] net-misc/wget-1.10.2 [1.9.1-r5] USE="ipv6 nls ssl -build -debug -socks5 -static" 1,190 kB[/quote]
|
so as you can see
1) portage pulled in 1st
2) it reloads so the rest use the new portage
Likewise
10.d. Rebooting the System
| Quote: | | Once rebooted in your Gentoo installation, finish up with Finalizing your Gentoo Installation. |
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1#book_part1_chap11
which goes on to say:
| Quote: |
Updating your System
To keep your system in perfect shape (and not to mention install the latest security updates) you need to update your system regularly. Since Portage only checks the ebuilds in your Portage tree you first have to update your Portage tree. When your Portage tree is updated, you can update your system with emerge --update world. In the next example, we'll also use the --ask switch which will tell Portage to display the list of packages it wants to upgrade and ask you if you want to continue:
Code Listing 3.10: Updating your system
# emerge --update --ask world
Portage will then search for newer version of the applications you have installed. However, it will only verify the versions for the applications you have explicitly installed (the applications listed in /var/lib/portage/world) - it does not thoroughly check their dependencies. If you want to update every single package on your system, add the --deep argument:
Code Listing 3.11: Updating your entire system
# emerge --update --deep world
|
if you don't think it is clear, please submit a bug report to update the documentation _________________ A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen. |
|
| Back to top |
|
 |
|