Jump to content
  • 0

Fresh install won't sync


ria
 Share

Question

Hello, I have done fresh install of Funtoo haswell 64 bit mate.

 Can't login.

 Tried with chroot

 

[quote]ego sync
Running as root user (will drop perms for sync.)
Syncing meta-repo
Cloning into '/var/git/meta-repo'...
fatal: unable to access 'https://github.com/funtoo/meta-repo/': Couldn't resolve host 'github.com'
ERROR: Could not clone meta-repo at '/var/git/meta-repo'.
WARNING: Cannot update repos.conf as meta-repo does not exist.
Updating profiles at /etc/portage/make.profile/parent...
ERROR: Ego encountered an unexpected error: KeyError
ERROR: Full traceback written to /tmp/ego-traceback-3625.txt.[/quote]

 

[quote]'release_defs'Traceback (most recent call last):
  File "/usr/bin/ego", line 120, in <module>
    EgoModule.run_ego_module(action, econfig, args, VERSION)
  File "/usr/share/ego/python/ego/module.py", line 110, in run_ego_module
    ego_module(*args)
  File "/usr/share/ego/python/ego/module.py", line 95, in __call__
    self.handle()
  File "/usr/share/ego/modules/sync.ego", line 429, in handle
    self.sync_meta_repo_and_kits()
  File "/usr/share/ego/modules/sync.ego", line 389, in sync_meta_repo_and_kits
    EgoModule.run_ego_module('profile', self.config, ['update'])
  File "/usr/share/ego/python/ego/module.py", line 110, in run_ego_module
    ego_module(*args)
  File "/usr/share/ego/modules/profile.ego", line 313, in __call__
    super().__call__(*args)
  File "/usr/share/ego/python/ego/module.py", line 95, in __call__
    self.handle()
  File "/usr/share/ego/modules/profile.ego", line 294, in handle
    handler()
  File "/usr/share/ego/modules/profile.ego", line 130, in handle_write
    self.tree.write(self.config, outfile)
  File "/usr/share/ego/python/ego/profile.py", line 466, in write
    for kit in self.config.all_kit_names_in_release:
  File "/usr/share/ego/python/ego/config.py", line 96, in all_kit_names_in_release
    return self.kit_info_metadata["release_defs"][self.release].keys()
KeyError: 'release_defs'
[/quote]

 Internet and ping works fine.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

The issue you may be having is addressed here:

https://forums.funtoo.org/topic/4560-problem-ego-sync/

Owner and group on /var/git has to be portage which has uid (250) and gid(250)

rj@funtoo ~ $ ls -la /var | grep git
drwxr-xr-x  3 portage portage 4096 Sep 16 20:36 git
rj@funtoo ~ $ ls -lan /var | grep git
drwxr-xr-x  3  250 250 4096 Sep 16 20:36 git

Correct the permissions if necessary:

# install -d /var/git -o 250 -g 250

https://www.funtoo.org/Install/Download_Portage_Tree

 

Edited by cardinal
Link to comment
Share on other sites

  • 0

inux / # ls -la /var | grep git
drwxr-xr-x 2 portage portage 4096 Sep 22 11:05 git

 install -d /var/git -o 250 -g 250
linux / # ego sync
Running as root user (will drop perms for sync.)
Syncing meta-repo
Cloning into '/var/git/meta-repo'...
fatal: unable to access 'https://github.com/funtoo/meta-repo/': Couldn't resolve host 'github.com'
 

Edited by ria
Link to comment
Share on other sites

  • 0

ego sync
Running as root user (will drop perms for sync.)
Syncing meta-repo
Cloning into '/var/git/meta-repo'...
fatal: unable to access 'https://github.com/funtoo/meta-repo/': Couldn't resolve host 'github.com'
ERROR: Could not clone meta-repo at '/var/git/meta-repo'.
WARNING: Cannot update repos.conf as meta-repo does not exist.
Updating profiles at /etc/portage/make.profile/parent...
ERROR: Ego encountered an unexpected error: KeyError
ERROR: Full traceback written to /tmp/ego-traceback-3220.txt.

Link to comment
Share on other sites

  • 0

Couldn't resolve host 'github.com'

Resolved ip address for github.com with this command:

funtoo /home/rj # getent hosts github.com
140.82.114.3    github.com

While inside the chroot add the ip address for github.com to the /etc/hosts file.

echo "140.82.114.3  github.com" >> /etc/hosts

With an active internet connection there should be a reply from ping github.com or ping 140.82.114.3 from inside the chroot.

If the ping reply's you should be able to ego sync.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...