# emerge world Calculating world dependencies -Traceback (most recent call last): File "/usr/bin/emerge", line 1826, in ? if not mydepgraph.xcreate(myaction): File "/usr/bin/emerge", line 815, in xcreate myeb=portage.portdb.xmatch("bestmatch-visible",mydep) File "/usr/lib/python2.2/site-packages/portage.py", line 3338, in xmatch myval=best(self.xmatch("match-visible",None,mydep,mykey)) File "/usr/lib/python2.2/site-packages/portage.py", line 3349, in xmatch myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey)) File "/usr/lib/python2.2/site-packages/portage.py", line 3335, in xmatch myval=self.gvisible(self.visible(self.cp_list(mykey))) File "/usr/lib/python2.2/site-packages/portage.py", line 3417, in gvisible myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"]) File "/usr/lib/python2.2/site-packages/portage.py", line 3074, in aux_get if doregen or not eclass(None, mycpv, dmtime): File "/usr/lib/python2.2/site-packages/portage.py", line 2997, in eclass if (mymtime!=mtimedb["eclass"][myeclass][2][mycpv][1]) or (mtimedb["eclass"][myeclass][0]!=mtimedb["eclass"][myeclass][2][mycpv][0]): IndexError: list index out of range OR # emerge -upvD world These are the packages that I would merge, in order: Calculating world dependencies -Traceback (most recent call last): File "/usr/bin/emerge", line 1826, in ? if not mydepgraph.xcreate(myaction): File "/usr/bin/emerge", line 835, in xcreate if not self.create(myk): File "/usr/bin/emerge", line 597, in create if not self.select_dep("/",mydep["/"],myparent=mp): File "/usr/bin/emerge", line 746, in select_dep if not self.create(myk,myparent): File "/usr/bin/emerge", line 597, in create if not self.select_dep("/",mydep["/"],myparent=mp): File "/usr/bin/emerge", line 746, in select_dep if not self.create(myk,myparent): File "/usr/bin/emerge", line 597, in create if not self.select_dep("/",mydep["/"],myparent=mp): File "/usr/bin/emerge", line 707, in select_dep myeb=portage.portdb.xmatch("bestmatch-visible",x) File "/usr/lib/python2.2/site-packages/portage.py", line 3338, in xmatch myval=best(self.xmatch("match-visible",None,mydep,mykey)) File "/usr/lib/python2.2/site-packages/portage.py", line 3349, in xmatch myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey)) File "/usr/lib/python2.2/site-packages/portage.py", line 3335, in xmatch myval=self.gvisible(self.visible(self.cp_list(mykey))) File "/usr/lib/python2.2/site-packages/portage.py", line 3417, in gvisible myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"]) File "/usr/lib/python2.2/site-packages/portage.py", line 3074, in aux_get if doregen or not eclass(None, mycpv, dmtime): File "/usr/lib/python2.2/site-packages/portage.py", line 2997, in eclass if (mymtime!=mtimedb["eclass"][myeclass][2][mycpv][1]) or (mtimedb["eclass"][myeclass][0]!=mtimedb["eclass"][myeclass][2][mycpv][0]): IndexError: list index out of range Reproducible: Always Steps to Reproduce: 1. emerge world 2. 3. # emerge -v info Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) Processor USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex bonobo svga java guile X sdl gpm tcpd pam libwww ssl python esd imlib oggvorbis gnome gtk qt kde motif opengl smooth aalib dga directfb dvd fbcon gd gtk2 ipv6 mbox mozilla mysql perl samba tiff usb xface xml cdr" FEATURES="sandbox ccache" LESS="-R" PORTAGE_GID="250" LESSOPEN="|lesspipe.sh %s" CVS_RSH="ssh" LOGNAME="root" USER="root" INPUTRC="/etc/inputrc" PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin" QTDIR="/usr/qt/3" PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]" DISPLAY=":0.0" PORTAGE_MASTER_PID="31964" KDEDIR="/usr/kde/3.1" TERM="xterm" SHELL="/bin/bash" JDK_HOME="/opt/blackdown-jdk-1.4.1" PORTAGE_CACHEDIR="/var/cache/edb/dep/" SHLVL="1" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" QMAKESPEC="linux-g++" ACCEPT_KEYWORDS="x86 ~x86" PRELINK_PATH="" MOZILLA_FIVE_HOME="/usr/lib/mozilla" MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/man:/usr/qt/3/man" JAVA_HOME="/opt/blackdown-jdk-1.4.1" HOME="/root" EDITOR="/usr/bin/vim" INFODIR="/usr/share/info:/usr/X11R6/info" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info" CC="gcc" CLASSPATH="/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:." ACCEPT_LICENSE="" PRELINK_PATH_MASK="" XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge" XAUTHORITY="/root/.xauthtL4xTV" KDEDIRS="/usr" VIMRUNTIME="/usr/share/vim/vim61" JAVAC="/opt/blackdown-jdk-1.4.1/bin/javac" CXX="g++" HOSTNAME="ux-keutterling.arcor-online.net" 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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" PWD="/root" SGML_CATALOG_FILES="/etc/sgml/sgml-ent.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/openjade-1.3.1.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-4.1.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-docbook-4.0.cat:/etc/sgml/sgml-lite.cat" MAIL="/var/spool/mail/root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:" PAGER="/usr/bin/less" PORTDIR_OVERLAY="/usr/local/portage" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon -march=athlon -O3 -pipe" GENTOO_MIRRORS="http://gentoo.linux.no/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ " ARCH="x86" COMPILER="gcc3" MAKEOPTS="-j2" SYNC="rsync://rsync.gentoo.org/gentoo-portage" RSYNC_TIMEOUT="180" AUTOCLEAN="yes" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" RSYNC_RETRIES="3" PKGDIR="/usr/portage/packages" CLEAN_DELAY="5" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp ${URI} -P ${DISTDIR}" RPMDIR="/usr/portage/rpm" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp ${URI} -P ${DISTDIR}" PORTDIR="/usr/portage" NOCOLOR="false" USE_ORDER="env:conf:auto:defaults" PORTAGE_TMPDIR="/var/tmp"
if i remove /usr/portage/sys-apps/texinfo .... emerge world works fine... but after a resync i had the same problem again.
*** Bug 18092 has been marked as a duplicate of this bug. ***
try emerge sync rm -rf /var/cache/edb/dep/* emerge regen
processing sys-apps/selinux-small processing sys-apps/ifplugd processing sys-apps/tcp-wrappers Traceback (most recent call last): File "/usr/bin/emerge", line 1634, in ? mymatches=portage.portdb.xmatch("list-visible",x) File "/usr/lib/python2.2/site-packages/portage.py", line 3335, in xmatch myval=self.gvisible(self.visible(self.cp_list(mykey))) File "/usr/lib/python2.2/site-packages/portage.py", line 3417, in gvisible myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"]) File "/usr/lib/python2.2/site-packages/portage.py", line 3149, in aux_get myret=eclass(myeclass,mycpv,dmtime) File "/usr/lib/python2.2/site-packages/portage.py", line 2973, in eclass if (mymtime!=mtimedb["eclass"][myeclass][2][mycpv][1]) or (mtimedb["eclass"][myeclass][0]!=mtimedb["eclass"][myeclass][2][mycpv][0]): IndexError: list index out of range still the same problem... when i remove the texinfo folder it works fine...
python -c 'import portage; portage.flushmtimedb("eclass"); portage.flushmtimedb("packages")' All on one line.
thx... now it works like before .... is this a bug?
"pickle corruption" on-disk data corruption... Or there is something weird... I'll assume the former, but will be investigating when I start rewriting later.