nvidia and X11 crashed system and overwrote some files including it seems portage. any emerge or ebuild command results in the output : Traceback (most recent call last): File "/usr/bin/emerge", line 6, in ? import os,sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback File "/usr/lib/python2.2/site-packages/portage.py", line 4353, in ? do_vartree() File "/usr/lib/python2.2/site-packages/portage.py", line 4341, in do_vartree if not virts_p.has_key(vkeysplit[1]): IndexError: list index out of range the imports line differ according to what command you use. Reproducible: Always Steps to Reproduce: 1. emerge 2. 3. Actual Results: nothing Expected Results: working ;P I've untarred the portage-rescue according to /usr/portage/sys-apps/portage/files/README.RESCUE spoke to seemant and lordlogic on irc ;P
The issue was a FREAKILY corrupted virtuals file full of what looked like /etc/profile.env stuff, once the file was removed portage resumed functioning normally, I warned the user that portage may try to merge incorrect things to satisfy virtuals until all virtuals needed were resatisfied and stored in a replacement /var/cache/edb/virtuals file.