As per: http://forums.gentoo.org/viewtopic-t-505076.html Upgrading to 2.1.2_pre3 now prevents an "emerge -p world". "system" works fine, and emerging specific packages seems good. Specific error message for me: Calculating world dependencies... done! Traceback (most recent call last): File "/usr/bin/emerge", line 4280, in ? retval = emerge_main() File "/usr/bin/emerge", line 4275, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 3738, in action_build mydepgraph.display( File "/usr/bin/emerge", line 1627, in display pkgsettings.setcpv(pkg_key, mydb=portdb) File "/usr/lib/portage/pym/portage.py", line 1517, in setcpv pkginternaluse = " ".join([x[1:] \ File "/usr/lib/portage/pym/portage.py", line 4894, in aux_get raise KeyError(mycpv) KeyError: 'kde-base/kde-env' emerge --info: Portage 2.1.2_pre3 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend 2-r6 x86_64) ================================================================= System uname: 2.6.17-suspend2-r6 x86_64 AMD Turion(tm) 64 Mobile Technology MT-40 Gentoo Base System version 1.12.5 Last Sync: Sat, 14 Oct 2006 12:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.0-r2, 2.0.26-r5 dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O1" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown / usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/ revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -pipe -O1" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distrib utions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --excl ude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 3dnowex X acpi alsa apache2 berkdb bitmap-fonts cairo cli crypt cups dbus di vx4linux dlloader dri dvdr elibc_glibc emboss encode foomaticdb fortran gif gpm gstream er gtk gtk2 hal ieee1394 imlib input_devices_keyboard input_devices_mouse input_devices _synaptics ipv6 isdnlog jpeg kde kernel_linux linguas_en logrotate lzw lzw-tiff mp3 mpe g ncurses nls nptl nptlonly oggvorbis opengl pam pcre perl png pppd python qt3 qt4 quic ktime readline reflection samba sdl session spell spl ssh ssl svg tcpd tiff truetype tr uetype-fonts type1-fonts usb userland_GNU vhosts video_cards_ati video_cards_fglrx vide o_cards_vesa vorbis xcomposite xml2 xorg xpm xscreensaver xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_O PTS
*** This bug has been marked as a duplicate of 151331 ***