When I try to emerge anything, I get the same error, I've asked in #gentoo on freenode for help yet they could not solve it. Reproducible: Always Steps to Reproduce: 1. emerge -uD world 2. Gives this error. Actual Results: Capricious root # emerge -uDav world These are the packages that I would merge, in order: Calculating world dependencies |Traceback (most recent call last): File "/usr/bin/emerge", line 2903, in ? if not mydepgraph.xcreate(myaction): File "/usr/bin/emerge", line 1351, in xcreate if not self.create(myk,myuse=binpkguseflags): File "/usr/bin/emerge", line 983, in create if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse): File "/usr/bin/emerge", line 1250, in select_dep if not self.create(myk,myparent,myuse=binpkguseflags): File "/usr/bin/emerge", line 939, in create self.pkgsettings.setinst(mykey,portage.db[myroot]["porttree"].dbapi) File "/usr/lib/portage/pym/portage.py", line 1270, in setinst virt = dep_getkey(virt) File "/usr/lib/portage/pym/portage.py", line 3362, in dep_getkey elif mydep[:1] in "=<>~": TypeError: 'in <string>' requires string as left operand Expected Results: Actually started emerging world? Capricious root # emerge info Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 -cko1 i686) ================================================================= System uname: 2.6.9-cko1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -mfpmath=sse -O2 -mcpu=i686 -pipe -fforce-addr -fomit-f rame-pointer -funroll-loops -falign-functions=4 -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3 /env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /us r/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -mfpmath=sse -O2 -mcpu=i686 -pipe -fforce-addr -fomit -frame-pointer -funroll-loops -falign-functions=4 -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/dis tributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aim alsa avi divx4linux dvd fastcgi flash ftp gif gtk java jpeg mmx m ozilla mpeg msn mysql oggvorbis opengl oscar perl quicktime ssl usb xml xvid yah oo"
Temporary corrupt portage tree problem, resolved.
actually it's not a corrupt tree
*** This bug has been marked as a duplicate of 69864 ***