Updating portage tree

One secret to its success is the powerful and handy Portage package management system.

While Gentoo comes with extensive documentation covering most aspects of using Portage, the techniques described in Gentoo's handbook and other documentation are not always the most effective ones.

Portage's emerge utility has options, but using them is not enjoyable, because they take a long time to run.

In case aufs2 complains about missing Symbols related to inotify, you can remove inotify-useflag from aufs as a workaround.

Note: Alternative you can use the "live" ebuild, aufs2-9999 or a kernel source package that includes aufs, like sys-kernel/zen-sources.

Sometimes Deltup gets confused about which versions of packages you have.

And, of course, generating a new package takes some CPU time.

Their common idea is to use their own search indexes to speed up searches.

When using either utility, you have to rebuild the index after updating the Portage tree, and after installing and uninstalling software.

For a single squashed tree, you will need to move anything not part of the portage tree out of PORTDIR( File: /etc/init.d/squash_portage #!

/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # # /etc/init.d/squash_portage allows efficient compression of # Gentoo portage arborescence # # It requires support for the loop device and squashfs enabled in the kernel, # module autoloading is also *highly* recommended.

Kernels based on sys-kernel/gentoo-sources include Squash FS by default.

Tags: , ,