i don't recall any odd changes i did to system, and have no idea what to dig, so i'm glueless. i've synced tree several times, that did not help. so it's broken elsewhere. # emerge -u world -vpt These are the packages that I would merge, in reverse order: Calculating world dependencies Traceback (most recent call last): File "/usr/bin/emerge", line 2517, in ? if not mydepgraph.xcreate(myaction): File "/usr/bin/emerge", line 1097, in xcreate if portage.db["/"]["vartree"].dbapi.match(x): File "/usr/lib/portage/pym/portage.py", line 4154, in match mymatch=match_from_list(mydep,self.cp_list(mykey,use_cache=use_cache)) File "/usr/lib/portage/pym/portage.py", line 4080, in cp_list mystat=os.stat(self.root+VDB_PATH+"/"+mysplit[0])[ST_MTIME] TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str here's emerge info: Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.26-lck1) ================================================================= System uname: 2.4.26-lck1 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium2 -march=pentium2 -funroll-loops -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium2 -march=pentium2 -funroll-loops -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache noinfo sandbox" GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apache2 arts artswrappersuid avi cups dga directfb dvd encode fbcon ggi gif gpm gtk2 imlib javascript jpeg kde ldap libg++ libwww lirc mad maildir md5sum memlimit mmx mozilla mpeg ncurses oggvorbis opengl oss pam perl png quicktime samba sdl slang ssl svga tiff truetype x86 xmms xv zlib"
ok, figured out that my world file is full of garbage, how to i recover it? is there need to recover it? here's copy of my world file: http://haarber.alkohol.ee/world
Just delete /var/cache/edb/world and then run /usr/sbin/regenworld. Make sure to check and, if necessary, edit the contents of the new world file afterward. By the way, you probably want to fsck.
thanks. I'm using reiserfs, i don't think i should fsck, right?