When I do emerge -pvuD as my user (which is in the portage group) I get: mindsuck@sacrifice mindsuck $ emerge -pvuD world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild N ] x11-base/xfree-4.3.0-r5 -3dfx +3dnow -bindist -cjk -debug -doc +ipv6 +mmx +nls +pam -sdk +sse -static +truetype +xml2 16,984 kB [ebuild N ] dev-java/blackdown-jre-1.4.1 41,531 kB [ebuild N ] dev-java/blackdown-jdk-1.4.1 -doc 79,032 kB [ebuild N ] sys-kernel/gentoo-sources-2.4.25-r4 -build 31,488 kB [ebuild N ] net-mail/mailbase-0.00-r5 [empty/missing/bad digest] [ebuild N ] mail-mta/ssmtp-2.60.7-r1 +ipv6 -mailwrapper -md5sum +ssl 0 kB [ebuild N ] sys-apps/modutils-2.4.25 -debug 0 kB [ebuild N ] sys-fs/devfsd-1.3.25-r6 -debug 0 kB Total size of downloads: 169,035 kB If I do it as root, I get: sacrifice root # emerge -pvuD world These are the packages that I would merge, in order: Calculating world dependencies ...done! Total size of downloads: 0 kB I'm guessing this is related to my usage of /etc/portage/package.keywords to unmask some ~x86 packages. I thought maybe /etc/portage/package.keywords had permissions set to be readable only by root, so I checked and it's fine: -rw-r--r-- 1 root root 381 Jun 23 15:29 /etc/portage/package.keywords But still, I'm not sure if the issue is related to that in any way. Reproducible: Always Steps to Reproduce: 1. Unmask ~x86 packages using /etc/portage/package.keywords 2. emerge -pvuD world as root. 3. emerge -pvuD world as a user in the portage group. Actual Results: Different output. Expected Results: Same output. /usr/portage/package.keywords: media-gfx/gimp ~x86 gnome-extra/gdesklets-core ~x86 x11-plugins/desklet-starterbar ~x86 x11-plugins/desklet-goodweather ~x86 x11-plugins/desklet-ltvariations ~x86 x11-plugins/desklet-weather ~x86 media-video/nvidia-kernel ~x86 media-video/nvidia-glx ~x86 x11-misc/linuxwacom ~x86 x11-base/xorg-x11 ~x86 x11-base/opengl-update ~x86 x11-terms/xterm ~x86 net-www/netscape-flash ~x86 emerge info: Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" USE="3dnow X aalib aavm acl alsa apache2 apm artswrappersuid audiofile avi berkdb bonobo cdr crypt cups dga dvd encode esd ethereal faad fbcon flac flash foomaticdb gb gd gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile imap imlib innodb ipv6 java javascript jdepend jikes joystick jpeg junit justify lcms libcaca libg++ libgda libwww mad maildir matroska memlimit mikmod mmx motif mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg nas ncurses nls nocardbus nptl offensive oggvorbis openal opengl pam pdflib perl plotutils png python quicktime readline rplay ruby samba sdl slang snmp speex spell sse ssl stroke svga tcltk tcpd theora tiff truetype trusted unicode usagi usb video_cards_nvidia vim-with-x wmf wsconvert wxwindows x86 xface xml xml2 xmms xosd xv xvid zlib"
It's definately a permissions issue. Make sure that they are correct on /etc/portage itself as well as its contents. Looking at what is actually shown to be merged by the user, also check permissions on /var/cache/edb/virtuals.
/var/cache/edb/virtuals was indeed the problematic file. Permissions were: -rw-r----- 1 root root 1267 jun 21 02:50 virtuals I changed them to: -rw-r--r-- 1 root root 1267 Jun 21 02:50 /var/cache/edb/virtuals And emerge -pvuD world works as expected. I never changed those permissions so I'm assuming 640 is the default, why not 644?
That Virtuals file is obsoleted in 2.0.51. As to why it was 0640... I have no idea. Custom umask?