-
Notifications
You must be signed in to change notification settings - Fork 92
Update
To eliminate most of the question in IRC (#pentoo) and to start a good documentation process, here are the steps to bring your system up to date.
WARNING: The errors on your screen need to be read and acted upon, following these directions blindly will result in failure, then ridicule, then more failure.
emerge --sync
Please adjust your CFLAGS as desired, information can be found here: https://wiki.gentoo.org/wiki/CFLAGS Do not modify these FLAGS unless you know what you are doing, always check the defaults first with:
portageq envvar CFLAGS
This is the default for pentoo at the time of build:
# CFLAGS="-Os -mtune=nocona -pipe -ggdb"
A safe choice would be to keep whatever Pentoo defaults are, but optimize for your specific machine:
CFLAGS="${CFLAGS} -march=native"
CXXFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
MAKEOPTS is set automatically by the profile to jobs equal to processors, you do not need to set it.
ACCEPT_LICENSE="Oracle-BCLA-JavaSE NVIDIA-CUDA google-chrome Google-TOS PUEL baudline"
You may wish to edit your VIDEO_CARDS line to match your system better. Example, for nvidia/ati users should add nvdia/fglrx flags:
VIDEO_CARDS="fbdev vga vesa nvidia"
Guest OS users should add virtualbox/vmware or qxl flag(s):
VIDEO_CARDS="fbdev vga vesa virtualbox"
eselect profile list
eselect profile set <number>
Follow the pentoo-updater below
Pay extra attention on upgrading kernel, gcc, python or any other system package. It is important to upgrade these packages properly before moving to the next step. You might also need to understand Upgrading Gentoo generic guideline.
Very recently some changes were pushed to Pentoo which moved the Pentoo Overlay from /var/lib/layman to /var/db/repos so:
cd /var/db/repos/pentoo
git pull
./scripts/pentoo-updater.sh
everything should work now,
cd /var/lib/layman/pentoo
git pull
./scripts/pentoo-updater.sh
everything should work now,
emerge --sync
emerge --deep --update --newuse world -vt
etc-update
emerge --depclean
emerge @preserved-rebuild
smart-live-rebuild
revdep-rebuild
etc-update
eclean-dist -d && eclean-pkg -d
Check /var/log/portage/elog/summary.log file
Follow the usual Gentoo way. Once the source is installed, download the latest config and run:
genkernel --no-clean --luks --gpg all
emerge @module-rebuild
and add a new boot menu in the /boot/grub/menu.lst file
emerge @x11-module-rebuild
eselect java-vm set system icedtea-bin-7
after python/perl upgrade:
perl-cleaner --modules
python-updater
Run the following command under each regular user's account
genmenu.py -x
Discussion and support available on irc.freenode.net #pentoo
Pentoo Penetration Testing Overlay and Livecd
Blog | Twitter @pentoo_linux | Download Stable | Download Beta | Wiki