From Chaos
Update September 2009
Known Issues
- Enable RC_LOGGING in /etc/conf.d/rc (emerge showconsole).
- Enable logrotate (emerge logrotate).
- After running "emerge --sync && emerge --regen", you need to create a new symlink for make.profile:
| root@localhost:~# cd /etc && rm make.profile && ln -s /usr/portage/profiles/default/linux/x86/10.0 make.profile
|
- After re-creating make.profile symlink, update portage before anything else:
| root@localhost:~# emerge portage
|
- You should now be ready to do the world update:
| root@localhost:~# emerge --update --deep --ask world
|
- You'll be prompted to run etc-update, do that now:
| root@localhost:~# etc-update
|
- As long as that all ran OK, you should be able to reboot:
- After the reboot, reinstall open-vm-tools, and update modules:
| root@localhost:~# emerge --oneshot open-vm-tools && update-modules force
|
| root@localhost:~# python-updater
|
- You can now re-run through the world update, and it should get any last remaining packages that need upgrading:
| root@localhost:~# emerge --update --deep --ask world
|
- Re-run etc-update again, since /etc may have additional merges that need to be taken care of:
| root@localhost:~# etc-update
|
- Reboot one last time, make sure everything is OK:
Kernel Modules
- After the world is done updating, copy the most recent kernel config file from a recent successful kernel build (in my case kernel-config-x86-2.6.28-gentoo-r5) to the new kernel version appropriate to whatever emerge installed (in my case, eselect kernel list lists a version linux-2.6.30-gentoo-r5. So, I knew I had to copy my old file /etc/kernels/kernel-config-x86-2.6.28-gentoo-r5 to /etc/kernels/kernel-config-x86-2.6.30-gentoo-r5. Don't forget to set linux-2.6.30-gentoo-r5 as your default kernel via eselect!
| root@localhost:~# eselect kernel list
|
Available kernel symlink targets:
[1] linux-2.6.25-gentoo-r8
[2] linux-2.6.25-gentoo-r9 *
[3] linux-2.6.30-gentoo-r5
| root@localhost:~# eselect kernel set 3
|
| root@localhost:~# cd /etc/kernels && cp kernel-config-x86-2.6.28-gentoo-r5 kernel-config-x86-2.6.30-gentoo-r5
|
- You should now be able to run genkernel all and update LILO smoothly.
| root@localhost:~# genkernel all
|
| root@localhost:~# vi /etc/lilo.conf
|
Broken Deps