Hi The latest package I emerge was openssh. It's about few days ago. since that I can't use emerge anymore. I have similar error with equery Reproducible: Always Steps to Reproduce: 1.emerge <package_name> or equery files <full filename> 2. 3. Actual Results: Emerge output : Traceback (most recent call last): File "/usr/bin/emerge", line 4049, in ? emerge_main() File "/usr/bin/emerge", line 3768, in emerge_main settings, trees, mtimedb = load_emerge_config() File "/usr/bin/emerge", line 3689, in load_emerge_config mtimedb = portage.MtimeDB(mtimedbfile) File "/usr/lib/portage/pym/portage.py", line 6726, in __init__ self._load(filename) File "/usr/lib/portage/pym/portage.py", line 6733, in _load d = mypickle.load() cPickle.UnpicklingError: invalid load key, ''. equery output: Traceback (most recent call last): File "/usr/bin/equery", line 27, in ? import gentoolkit File "/usr/lib/gentoolkit/pym/gentoolkit/__init__.py", line 23, in ? import portage File "/usr/lib/portage/pym/portage.py", line 6871, in ? init_legacy_globals() File "/usr/lib/portage/pym/portage.py", line 6841, in init_legacy_globals mtimedb = MtimeDB(mtimedbfile) File "/usr/lib/portage/pym/portage.py", line 6726, in __init__ self._load(filename) File "/usr/lib/portage/pym/portage.py", line 6733, in _load d = mypickle.load() cPickle.UnpicklingError: invalid load key, ''.
I can't give you emerge --info because emerge doesn't work! Thks for your help ...
rm -Rf /var/cache/edb/dep; emerge sync *** This bug has been marked as a duplicate of bug 49881 ***
Seems that the issue isn't solve, following is the output : pyro ~ # rm -Rf /var/cache/edb/dep; emerge sync Traceback (most recent call last): File "/usr/bin/emerge", line 4049, in ? emerge_main() File "/usr/bin/emerge", line 3768, in emerge_main settings, trees, mtimedb = load_emerge_config() File "/usr/bin/emerge", line 3689, in load_emerge_config mtimedb = portage.MtimeDB(mtimedbfile) File "/usr/lib/portage/pym/portage.py", line 6726, in __init__ self._load(filename) File "/usr/lib/portage/pym/portage.py", line 6733, in _load d = mypickle.load() cPickle.UnpicklingError: invalid load key, ''.
The correct workaround for this bug is actually slightly different from bug 49881: rm /var/cache/edb/mtimedb
Sorry to ask for another question, emerge issue is now solve, but I still have issue with eupdatedb : aux_get(): (0) Error in app-shells/tcsh-6.14-r3 ebuild. (1) Check for syntax error or corruption in the ebuild. (--debug) !!! ERROR: app-shells/tcsh-6.14-r30 failed. Call stack: ebuild.sh, line 1454: Called source '/usr/portage/app-shells/tcsh/tcsh-6.14-r30.ebuild' tcsh-6.14-r30.ebuild, line 5: Called inherit 'eutils' ebuild.sh, line 1189: Called die !!! eutils.eclass could not be found by inherit() !!! If you need support, post the topmost build error, and the call stack if relevant. an idea ? thks for all
Install the latest version of sys-apps/portage and try again. If necessary, you can manually upgrade portage: http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
hi I follow the doc http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml and when I try to emerge again I got that : pyro portage-2.1.1 # emerge sys-apps/portage Calculating dependencies !!! ERROR: sys-apps/portage-2.1.2.1 failed. Call stack: ebuild.sh, line 1454: Called source '/usr/portage/sys-apps/portage/portage-2.1.2.1.ebuild' portage-2.1.2.1.ebuild, line 5: Called inherit 'toolchain-funcs' 'eutils' 'flag-o-matic' 'multilib' ebuild.sh, line 1207: Called source '/usr/portage/eclass/toolchain-funcs.eclass' toolchain-funcs.eclass, line 10: Called inherit 'multilib' ebuild.sh, line 1189: Called die !!! multilib.eclass could not be found by inherit() !!! If you need support, post the topmost build error, and the call stack if relevant. aux_get(): (0) Error in sys-apps/portage-2.1.2.1 ebuild. (1) Check for syntax error or corruption in the ebuild. (--debug) !!! ERROR: sys-apps/portage-2.0.51.22-r3 failed. Call stack: ebuild.sh, line 1454: Called source '/usr/portage/sys-apps/portage/portage-2.0.51.22-r3.ebuild' portage-2.0.51.22-r3.ebuild, line 5: Called inherit 'toolchain-funcs' 'flag-o-matic' ebuild.sh, line 1207: Called source '/usr/portage/eclass/toolchain-funcs.eclass' toolchain-funcs.eclass, line 10: Called inherit 'multilib' ebuild.sh, line 1189: Called die !!! multilib.eclass could not be found by inherit() !!! If you need support, post the topmost build error, and the call stack if relevant. aux_get(): (0) Error in sys-apps/portage-2.0.51.22-r3 ebuild. (1) Check for syntax error or corruption in the ebuild. (--debug) !!! ERROR: sys-apps/portage-2.1.2-r9 failed. Call stack: ebuild.sh, line 1454: Called source '/usr/portage/sys-apps/portage/portage-2.1.2-r9.ebuild' portage-2.1.2-r9.ebuild, line 5: Called inherit 'toolchain-funcs' 'eutils' 'flag-o-matic' ebuild.sh, line 1207: Called source '/usr/portage/eclass/toolchain-funcs.eclass' toolchain-funcs.eclass, line 10: Called inherit 'multilib' ebuild.sh, line 1189: Called die !!! multilib.eclass could not be found by inherit() !!! If you need support, post the topmost build error, and the call stack if relevant.
another info : in /usr/portage/eclass I have some special info on files : -rw-r--r-- 1 root root 3967 Jan 2 09:35 wxwidgets.eclass ?????????? ? ? ? ? ? x-modular.eclass -rw-r--r-- 1 root root 3558 Oct 14 22:38 x11.eclass -rw-r--r-- 1 root root 1309 Feb 23 21:05 xemacs-packages.eclass -rw-r--r-- 1 root root 2428 Oct 14 22:38 xfce4.eclass -rw-r--r-- 1 root root 2495 Jan 5 05:37 xfce42.eclass -rw-r--r-- 1 root root 4094 Feb 26 21:37 xfce44.eclass ?????????? ? ? ? ? ? xfree.eclass -rw-r--r-- 1 root root 3134 Oct 14 22:38 xmms-plugin.eclass -rw-r--r-- 1 root root 4244 Jan 1 23:35 zproduct.eclass
(In reply to comment #8) > in /usr/portage/eclass I have some special info on files : > -rw-r--r-- 1 root root 3967 Jan 2 09:35 wxwidgets.eclass > ?????????? ? ? ? ? ? x-modular.eclass The ?????? seems to indicate that /usr/portage is corrupt. Check your filesystem and disk for further corruption.