After updating a bunch of system packages emerge stopped working with: Traceback (most recent call last): File "/usr/bin/emerge", line 14, in ? import portage File "/usr/lib/portage/pym/portage.py", line 6144, in ? do_vartree(settings) File "/usr/lib/portage/pym/portage.py", line 6131, in do_vartree if not virts_p.has_key(vkeysplit[1]): IndexError: list index out of range In another bug someone sugested that virtuals might be corrupted so I checked it and I see these 3 lines spread between all the other lines: ) sys-apps/shadow ( sys-apps/shadow !pam? sys-apps/shadow I removed those lines and emerge worked again. I tried remerging shadow to see if it did it again and it did. I emerged shadow-4.0.4.1-r4 and it didn't put those lines in. This computer is still on portage-2.0.50-r11. I emerged the new version on my laptop with portage-2.0.51-r2 and there was no problem. If this ebuild requires the new portage it should DEPEND on it. Reproducible: Always Steps to Reproduce: 1. don't upgrade to portage-2.0.51 2. emerge shadow 3. emerge "anything" Portage 2.0.50-r11 (default-1.0, gcc-2.95.3, glibc-2.2.5-r9, 2.6.7-gentoo-r14) ================================================================= System uname: 2.6.7-gentoo-r14 i686 AMD Athlon(tm) Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" 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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O3 -pipe" DISTDIR="/mnt/portage/portage/distfiles" FEATURES="autoaddcvs ccache digest sandbox strict userpriv usersandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ http://ftp-mirror.internap.com/pub/gentoo/ http://chod.cwru.edu/gentoo http://gentoo.mirrors.pair.com/ http://mirror.clarkson.edu/pub/distributions/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/mnt/portage/tmp" PORTDIR="/mnt/portage/portage" PORTDIR_OVERLAY="/mnt/portage/portage-local" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="3dnow 3dnow2 X alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups directfb dvd encode esd f77 gdbm ggi gif gnome gnome-libs gpm gtk gtk2 gtkhtml guile imlib jpeg libg++ libwww mikmod mmx mmx2 motif mozilla mpeg ncurses oggvorbis opengl oss pam pdflib perl png python readline sdl slang snmp spell sse ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"
The older version of portage will be removed soon. emerge recommends a version update so there is no excuse for running an old portage. Gentoo devs cannot support old versions of portage or make allowances if you continue to use them.
I know it is an old version of portage, but I've had problems in the past upgrading to the newest portage right away, so I like to wait for a few revisions especialy on my server. Other packages that use new features are depending on portage-2.0.51, so why shouldn't this? Here is a list: emacs-cvs-21.3.50-r1 gentoolkit-0.2.0_pre10-r1 gentoolkit-0.2.0_pre10 aumix-2.8-r2 knock-0.3.1 portmap-5b-r8 portmap-5b-r9 ypbind-1.17.2-r1 ypserv-2.13-r1 microcode-ctl-1.10 pcsc-lite-1.2.9_beta6 ntlmaps-0.9.8
added portage 2.0.51 to DEPEND