Jump to content
funtoo forums
Sign in to follow this  

Ego index error, Meta-repo RdOnly, bad profile

Recommended Posts


I was trying to update my Funtoo Virtual Container ( https://www.funtoo.org/Funtoo_Containers ) that I had been lacks in keeping up to date (everything was working fine).
Now I've dug myself a deep hole that I need help getting out of.

First I did a eix-sync (ego sync) which lead to a error report very similar to the one in this bug report, that is closed yet has people still showing the same problem:



Sync successful and kits in alignment! :)

Updating /etc/portage/repos.conf...

Updating profiles at /etc/portage/make.profile/parent...

Updating non-funtoo repositories...

ERROR: Ego encountered an unexpected error: ImportError


I tried to recompile ego as the bug report :


indicates and that in turn lead to "it does the same , im really really starting to hate python". 

Me too.

Which in turn lead me to somehow screwing up my profile.  Which should be a simple server profile for the Container.

So I seem to have a circular breakage of my profile is broken, I need to update ego and can't because something is wrong with python in the profile.
I can still compile something like eix just fine, so the system is not completely down, yet at least.

It would seem I need to fix my profile, without ego, get a viable default python set in the profile, then recompile ego.

Help? Please.



warning: ignoring parent gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit of file /etc/portage/make.profile/parent
warning: ignoring parent gentoo:funtoo/1.0/linux-gnu/build/current of file /etc/portage/make.profile/parent
warning: ignoring parent gentoo:funtoo/1.0/linux-gnu/flavor/core of file /etc/portage/make.profile/parent
 * Running ego sync
WARNING: Meta-repo is read-only -- running in config-only mode.
Updating /etc/portage/repos.conf...
ERROR: Ego encountered an unexpected error: IndexError
ERROR: Full traceback written to /tmp/ego-traceback-26322.txt.

This is the ego traceback:



  File "/usr/share/ego/python/ego/profile.py", line 420, in __init__
  File "/usr/share/ego/python/ego/profile.py", line 434, in reload
    self.profile_hier = self._recurse(parent_lines=parent_lines)
  File "/usr/share/ego/python/ego/profile.py", line 617, in _recurse
    new_children[spec_obj] = self._recurse(spec_obj, _parent=spec_obj, repo_nam\
  File "/usr/share/ego/python/ego/profile.py", line 606, in _recurse
    res_path = profile_path.resolved_path if profile_path is not None else self\
  File "/usr/share/ego/python/ego/profile.py", line 337, in resolved_path
    if self.spec_str[0] == ":":
IndexError: string index out of range



eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7
  [3]   python3.4


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...