when I simply run "emerge" I get the following: Traceback (most recent call last): File "/usr/bin/emerge", line 27, in ? import portage File "/usr/lib64/portage/pym/portage.py", line 8008 except portageexception.FileNotFound: ^ SyntaxError: invalid syntax Exiting: Need write access to etc I can't even do an emerge --info. According to epm -q, I am running portage-2.1.3_rc8 Reproducible: Always Steps to Reproduce: 1.run emerge 2. 3. Actual Results: Traceback (most recent call last): File "/usr/bin/emerge", line 27, in ? import portage File "/usr/lib64/portage/pym/portage.py", line 8008 except portageexception.FileNotFound: ^ SyntaxError: invalid syntax Expected Results: emerge program executes
Try the steps at http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml They should get you back up and running.
It should be portage_exception.FileNotFound, not the weird thing you have there. Edit the fine in some editor and check your RAM/filesystem for errors.