I was going for the last action of the day. typed in
rm -rf /usr/portage/*
instead of:
rm -rf /usr/portage/distfiles/*
I am currently getting the following output when I try to emerge --sync
Traceback (most recent call last):
File "/usr/bin/emerge", line 37, in <module>
from _emerge.main import emerge_main
File "/usr/lib64/python2.7/site-packages/_emerge/main.py", line 36, in <module>
from _emerge.actions import action_config, action_sync, action_metadata, \
File "/usr/lib64/python2.7/site-packages/_emerge/actions.py", line 39, in <module>
from portage.package.ebuild.doebuild import _check_temp_dir
File "/usr/lib64/python2.7/site-packages/portage/package/ebuild/doebuild.py", line 41, in <module>
from portage.dbapi.porttree import _parse_uri_map
File "/usr/lib64/python2.7/site-packages/portage/dbapi/porttree.py", line 20, in <module>
from portage.cache import metadata_overlay, volatile
ImportError: cannot import name metadata_overlay
I tried python-update but...
Traceback (most recent call last):
File "/usr/bin/portageq", line 820, in <module>
main()
File "/usr/bin/portageq", line 800, in main
args[0] = portage.settings["ROOT"]
File "/usr/lib64/python2.7/site-packages/portage/proxy/objectproxy.py", line 37, in __getitem__
return object.__getattribute__(self, '_get_target')()[key]
File "/usr/lib64/python2.7/site-packages/portage/__init__.py", line 608, in _get_target
return _get_legacy_global(name)
File "/usr/lib64/python2.7/site-packages/portage/_legacy_globals.py", line 34, in _get_legacy_global
portage.db = portage.create_trees(**kwargs)
File "/usr/lib64/python2.7/site-packages/portage/__init__.py", line 495, in create_trees
config_incrementals=portage.const.INCREMENTALS, _eprefix=eprefix)
File "/usr/lib64/python2.7/site-packages/portage/proxy/objectproxy.py", line 30, in __call__
result = object.__getattribute__(self, '_get_target')()
File "/usr/lib64/python2.7/site-packages/portage/proxy/lazyimport.py", line 129, in _get_target
__import__(name)
File "/usr/lib64/python2.7/site-packages/portage/package/ebuild/config.py", line 15, in <module>
from _emerge.Package import Package
File "/usr/lib64/python2.7/site-packages/_emerge/Package.py", line 15, in <module>
from _emerge.Task import Task
File "/usr/lib64/python2.7/site-packages/_emerge/Task.py", line 4, in <module>
from _emerge.SlotObject import SlotObject
ImportError: No module named SlotObject
Traceback (most recent call last):
File "/usr/bin/portageq", line 820, in <module>
main()
File "/usr/bin/portageq", line 800, in main
args[0] = portage.settings["ROOT"]
File "/usr/lib64/python2.7/site-packages/portage/proxy/objectproxy.py", line 37, in __getitem__
return object.__getattribute__(self, '_get_target')()[key]
File "/usr/lib64/python2.7/site-packages/portage/__init__.py", line 608, in _get_target
return _get_legacy_global(name)
File "/usr/lib64/python2.7/site-packages/portage/_legacy_globals.py", line 34, in _get_legacy_global
portage.db = portage.create_trees(**kwargs)
File "/usr/lib64/python2.7/site-packages/portage/__init__.py", line 495, in create_trees
config_incrementals=portage.const.INCREMENTALS, _eprefix=eprefix)
File "/usr/lib64/python2.7/site-packages/portage/proxy/objectproxy.py", line 30, in __call__
result = object.__getattribute__(self, '_get_target')()
File "/usr/lib64/python2.7/site-packages/portage/proxy/lazyimport.py", line 129, in _get_target
__import__(name)
File "/usr/lib64/python2.7/site-packages/portage/package/ebuild/config.py", line 15, in <module>
from _emerge.Package import Package
File "/usr/lib64/python2.7/site-packages/_emerge/Package.py", line 15, in <module>
from _emerge.Task import Task
File "/usr/lib64/python2.7/site-packages/_emerge/Task.py", line 4, in <module>
from _emerge.SlotObject import SlotObject
ImportError: No module named SlotObject
* Python 2 and Python 3 not installed
eselect python list :
Available Python interpreters:
[1] python2.7 *
[2] python3.3
Anyone know how to fix? I'd hate to have to wipe. :S
Question
cuchumino
I know... I know... :unsure:
I was going for the last action of the day. typed in
instead of:
I am currently getting the following output when I try to emerge --sync
I tried python-update but...
eselect python list :
Anyone know how to fix? I'd hate to have to wipe. :S
Link to comment
Share on other sites
5 answers to this question
Recommended Posts