I just installed Sabayon. I was able to merge a few things, but since I merged Openssh (I think that was the last one) every time I try to use the emerge command I get this:
Traceback (most recent call last):
File "/usr/bin/emerge", line 37, in <module>
from _emerge.main import emerge_main
File "/usr/lib64/portage/pym/_emerge/main.py", line 39, in <module>
from _emerge.actions import action_config, action_sync, action_metadata, \
File "/usr/lib64/portage/pym/_emerge/actions.py", line 45, in <module>
from portage.package.ebuild.doebuild import _check_temp_dir
File "/usr/lib64/portage/pym/portage/package/ebuild/doebuild.py", line 40, in <module>
from portage.dbapi.porttree import _parse_uri_map
File "/usr/lib64/portage/pym/portage/dbapi/porttree.py", line 35, in <module>
from _emerge.EbuildMetadataPhase import EbuildMetadataPhase
File "/usr/lib64/portage/pym/_emerge/EbuildMetadataPhase.py", line 4, in <module>
from _emerge.SubProcess import SubProcess
File "/usr/lib64/portage/pym/_emerge/SubProcess.py", line 5, in <module>
from _emerge.AbstractPollTask import AbstractPollTask
File "/usr/lib64/portage/pym/_emerge/AbstractPollTask.py", line 10, in <module>
from _emerge.AsynchronousTask import AsynchronousTask
File "/usr/lib64/portage/pym/_emerge/AsynchronousTask.py", line 5, in <module>
from _emerge.SlotObject import SlotObject
ImportError: No module named SlotObject
I tried revdep-rebuild, which didn't help.
I tried to reinstall portage, by unpacking Gentoo's portage .tar, that didn't do it.
I feel like the answer might be obvious to anyone who knows python, but I am unfamiliar with that language.