root@sumhost root# emerge fluxbox fluxter -p Calculating dependencies ...done! [ebuild N ] media-gfx/xv-3.10a-r3 [ebuild N ] x11-misc/commonbox-utils-0.4 [ebuild N ] x11-themes/commonbox-styles-0.6 [ebuild N ] x11-wm/fluxbox-0.1.14-r2 [ebuild N ] x11-wm/blackbox-0.62.1-r3 [ebuild N ] x11-misc/fluxter-0.1.0 Traceback (most recent call last): File "/usr/bin/emerge", line 2133, in ? mydepgraph.display(mydepgraph.altlist()) File "/usr/bin/emerge", line 1103, in display elif (not "--emptytree" in myopts) and portage.db[x[1]]["vartree"].exists_specific_cat(x[2]): File "/usr/lib/python2.2/site-packages/portage.py", line 3469, in exists_specific_cat self.invalidentry(self.root+"var/db/pkg/"+a[0]+"/"+x) AttributeError: vartree instance has no attribute 'invalidentry' Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r8) Reproducible: Always Steps to Reproduce: 1 gentoo default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1 2.4.20-gentoo-r8 2.using Portage 2.0.49-r15 3.execute emerge with more than two packages and [--pretend | -p ] as the last parameter Actual Results: root@sumhost root# emerge fluxbox fluxter -p Calculating dependencies ...done! [ebuild N ] media-gfx/xv-3.10a-r3 [ebuild N ] x11-misc/commonbox-utils-0.4 [ebuild N ] x11-themes/commonbox-styles-0.6 [ebuild N ] x11-wm/fluxbox-0.1.14-r2 [ebuild N ] x11-wm/blackbox-0.62.1-r3 [ebuild N ] x11-misc/fluxter-0.1.0 Traceback (most recent call last): File "/usr/bin/emerge", line 2133, in ? mydepgraph.display(mydepgraph.altlist()) File "/usr/bin/emerge", line 1103, in display elif (not "--emptytree" in myopts) and portage.db[x[1]]["vartree"].exists_specific_cat(x[2]): File "/usr/lib/python2.2/site-packages/portage.py", line 3469, in exists_specific_cat self.invalidentry(self.root+"var/db/pkg/"+a[0]+"/"+x) AttributeError: vartree instance has no attribute 'invalidentry' Expected Results: It only happes when it is at the end. Now I don't know how common this is but I regularly do this so that if I like what I see then I can just delete the last two chars of the line to run the command. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r8 ) ================================================================= System uname: 2.4.20-gentoo-r8 i686 Intel(R) Pentium(R) III Mobile CPU 1200 MHz Gentoo Base System version 1.4.3.8p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)[enabled ] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loo ps -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-l oops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs ccache distcc buildpkg" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apm foomaticdb gif libg++ libwww mad mikmod ncurses nls pdflib slang sp ell xv gdbm berkdb readline arts svga sdl tcpd pam perl esd imlib X opengl gtk g nome bonobo gb truetype motif -qt -kde dga alsa snmp php mysql innodb mozilla gd png jpeg python samba cups crypt ssl zlib ldap gps tcltk dvd xml xml2 plotutils encode mpeg avi quicktime oss oggvorbis flash fbcon mmx cdr emacs ethereal gpm xmms java
*** This bug has been marked as a duplicate of 31901 ***