Page 1 of 1

I broke emerge

Posted: Sat Sep 16, 2006 1:54 pm
by Movax
Any ideas? I tried my friend google and came up with nothing:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/emerge", line 12, in ?
    import portage
  File "/usr/lib/portage/pym/", line 7235, in ?
  File "/usr/lib/portage/pym/", line 7201, in init_legacy_globals
    mtimedb = load_mtimedb(f)
  File "/usr/lib/portage/pym/", line 7126, in load_mtimedb
    d = mypickle.load()
cPickle.UnpicklingError: invalid load key, 'A'.
I can type emerge <anything I want here, doesn't matter> and I get the same thing after a delay of about 2-3 seconds.

Should I just reinstall gentoox?

Posted: Sun Sep 17, 2006 5:53 am
by orochi
run magic, say yes to run emerge --sync, and try again

Posted: Tue Sep 19, 2006 4:16 am
by dopey
Did you resolve this?

If emerge --sync doesn't work, you could try to use a protage snapshot instead (see install handbook).

What did you do that broke emerge? I'm not judging (believe me I broke things more than I can count), I just need some background information before I can give a solid solution.