blackdon Posted February 3, 2020 Report Share Posted February 3, 2020 I found a problem in the new version of the system with the gnome, I already tested the previous version and it worked, this new version presents a problem in the chroot time to install and configure the system. I used intel64-ivybridge gnome 2020-02-02 (chroot) darkstar / # ego sync Running as root user (will drop perms for sync.) WARNING: Can't write to meta-repo -- running as read-only. Syncing 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-2721.txt. (chroot) darkstar / # nano /tmp/ego-traceback /tmp/ego-traceback-2721.txt 'release_defs'Traceback (most recent call last): File "/usr/bin/ego", line 118, in <module> EgoModule.run_ego_module(action, econfig, args, VERSION) File "/usr/share/ego/python/ego/module.py", line 103, in run_ego_module ego_module(*args) File "/usr/share/ego/python/ego/module.py", line 88, in __call__ self.handle() File "/usr/share/ego/modules/sync.ego", line 434, in handle self.sync_meta_repo_and_kits() File "/usr/share/ego/modules/sync.ego", line 393, in sync_meta_repo_and_kits EgoModule.run_ego_module('profile', self.config, ['update']) File "/usr/share/ego/python/ego/module.py", line 103, 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 88, 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 462, in write for kit in self.config.all_kit_names_in_release: File "/usr/share/ego/python/ego/config.py", line 92, in all_kit_names_in_release return self.kit_info_metadata["release_defs"][self.release].keys() KeyError: 'release_defs' Remembering that I did not make any changes to the system and anyway, even formatting and extracting tar.xz I get the same error. Thank you and I hope for the answer. Sorry, when i made the post it doubled because i was not logged in, i'm new to the site i don't know how to delete the other post. Link to comment Share on other sites More sharing options...
Funtoo Linux BDFL drobbins Posted February 4, 2020 Funtoo Linux BDFL Report Share Posted February 4, 2020 I can reproduce this issue so it looks like with an issue with the new stages or ego. I am investigating. Link to comment Share on other sites More sharing options...
Funtoo Linux BDFL drobbins Posted February 4, 2020 Funtoo Linux BDFL Report Share Posted February 4, 2020 This is a legitimate bug. To work around the issue, perform the following before performing an ego sync: # install -d /var/git -o 250 -g 250 Sync will then complete successfully. Link to comment Share on other sites More sharing options...
Funtoo Linux BDFL drobbins Posted February 4, 2020 Funtoo Linux BDFL Report Share Posted February 4, 2020 For now I have updated the install instructions so people know to run the chown command before ego sync. I will address this in future stages. Link to comment Share on other sites More sharing options...
blackdon Posted February 4, 2020 Author Report Share Posted February 4, 2020 Thanks for help Daniel, as i had followed the instalation guide exactly, i was already thinking that it would be a bug in the ego that was without write permission, but i didn't know which permission file. Link to comment Share on other sites More sharing options...
Recommended Posts