since a few recent portage versions (including 2.0.28) "emerge clean" fails for me. i have no idea for what reason or what/if did wrong. here's the output: saturn # emerge clean Traceback (most recent call last): File "/usr/bin/emerge", line 1311, in ? if 1==unmerge(myaction, myfiles): File "/usr/bin/emerge", line 1016, in unmerge slotmap[myslot][localtree.gettimeval(mypkg)]=mypkg File "/usr/lib/python2.2/site-packages/portage.py", line 2693, in gettimeval mycountervar=string.atoi(string.split(mycounterfile.readline())[0]) File "/usr/lib/python2.2/string.py", line 217, in atoi return _int(s, base) ValueError: invalid literal for int(): saturn #
Fixed in Portage 2.0.29.
Hrm, I guess not; emerge still references gettimeval. Fixing...
OK, your COUNTER file got corrupted; I added code to deal with this condition in 2.0.30; you can simply search for a /var/db/pkg/*/*/COUNTER that contains a non-number and delete it to get your version of Portage working again.