I have a system that hasn't been updated in a few months. I know it was updated to kits, but not yet to 1.2, which is what I was fixing to do today. Started with 'ego sync', which had an error. At that point profiles seemed to be trashed (0-length parent file), and various [ignorant] efforts to recover did not work out. Where do I need to start?
[root@wolfie 61% backup-parts]# ego sync
Syncing meta-repo
remote: Enumerating objects: 200, done.
remote: Counting objects: 100% (200/200), done.
remote: Compressing objects: 100% (101/101), done.
remote: Total 1073 (delta 102), reused 195 (delta 98), pack-reused 873
Receiving objects: 100% (1073/1073), 161.63 KiB | 241.00 KiB/s, done.
Resolving deltas: 100% (362/362), completed with 20 local objects.
From https://github.com/funtoo/meta-repo
ef81bf6..fb458da master -> origin/master
M kits/core-hw-kit
M kits/core-kit
M kits/desktop-kit
M kits/dev-kit
M kits/editors-kit
M kits/games-kit
M kits/gnome-kit
M kits/haskell-kit
M kits/java-kit
M kits/kde-kit
M kits/lang-kit
M kits/media-kit
M kits/net-kit
M kits/nokit
M kits/php-kit
M kits/python-kit
M kits/ruby-kit
M kits/science-kit
M kits/text-kit
M kits/xorg-kit
Already on 'master'
Your branch is behind 'origin/master' by 265 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
HEAD is now at ef81bf6 kit updates
Skipping repository kits/python-modules-kit/
remote: Enumerating objects: 34, done.
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 34 (delta 10), reused 33 (delta 9), pack-reused 0
Unpacking objects: 100% (34/34), done.
From https://github.com/funtoo/meta-repo
* [new branch] 1.3-release -> origin/1.3-release
Updating ef81bf6..fb458da
Fast-forward
metadata/kit-info.json | 188 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------
metadata/kit-sha1.json | 79 +++++++++++++++++++++++-----------------------------------
metadata/version.json | 3 +++
3 files changed, 152 insertions(+), 118 deletions(-)
create mode 100644 metadata/version.json
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 101, in run_ego_module
ego_module(*args)
File "/usr/share/ego/python/ego/module.py", line 86, in __call__
self.handle()
File "/usr/share/ego/modules/sync.ego", line 324, in handle
self.sync_meta_repo()
File "/usr/share/ego/modules/sync.ego", line 259, in sync_meta_repo
success = self.sync_kit(kt, self.kits_root, branch=branch)
File "/usr/share/ego/modules/sync.ego", line 53, in sync_kit
branch = self.config.kit_info_metadata["kit_settings"][kit_name]["default"]
KeyError: 'default'
[root@wolfie 61% backup-parts]# epro update
Updating profiles at /etc/portage/make.profile/parent...
Traceback (most recent call last):
File "/usr/bin/epro", line 120, in <module>
EgoModule.run_ego_module(action, econfig, args, VERSION)
File "/usr/share/ego/python/ego/module.py", line 101, in run_ego_module
ego_module(*args)
File "/usr/share/ego/modules/profile.ego", line 312, in __call__
super().__call__(*args)
File "/usr/share/ego/python/ego/module.py", line 86, in __call__
self.handle()
File "/usr/share/ego/modules/profile.ego", line 293, in handle
handler()
File "/usr/share/ego/modules/profile.ego", line 129, in handle_write
self.tree.write(self.config, outfile)
File "/usr/share/ego/python/ego/profile.py", line 449, in write
python_kit_branch = config.get_configured_kit("python-kit")
File "/usr/share/ego/python/ego/config.py", line 75, in get_configured_kit
default = self.kit_info_metadata["kit_settings"][kit]["default"]
KeyError: 'default'
[root@wolfie 61% backup-parts]# ego config
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 101, in run_ego_module
ego_module(*args)
File "/usr/share/ego/python/ego/module.py", line 86, in __call__
self.handle()
File "/usr/share/ego/modules/config.ego", line 66, in handle
handler()
File "/usr/share/ego/modules/config.ego", line 12, in handle_get_action
val = self.config.get_setting(self.options.section[0], self.options.key[0], default="")
AttributeError: 'Namespace' object has no attribute 'section'
[root@wolfie 61% portage]# cd /var/tmp
[root@wolfie 61% tmp]# git clone https://github.com/funtoo/ego.git
Cloning into 'ego'...
remote: Enumerating objects: 347, done.
remote: Counting objects: 100% (347/347), done.
remote: Compressing objects: 100% (231/231), done.
remote: Total 2635 (delta 237), reused 211 (delta 110), pack-reused 2288
Receiving objects: 100% (2635/2635), 670.85 KiB | 274.00 KiB/s, done.
Resolving deltas: 100% (1493/1493), done.
[root@wolfie 61% tmp]# cd ego
[root@wolfie 61% ego]# ego sync
Syncing meta-repo
M kits/core-hw-kit
M kits/core-kit
M kits/desktop-kit
M kits/dev-kit
M kits/editors-kit
M kits/games-kit
M kits/gnome-kit
M kits/haskell-kit
M kits/java-kit
M kits/kde-kit
M kits/lang-kit
M kits/media-kit
M kits/net-kit
M kits/nokit
M kits/php-kit
M kits/python-kit
M kits/science-kit
M kits/text-kit
M kits/xorg-kit
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at fb458da kit updates
Skipping repository kits/python-modules-kit/
Already up to date.
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 101, in run_ego_module
ego_module(*args)
File "/usr/share/ego/python/ego/module.py", line 86, in __call__
self.handle()
File "/usr/share/ego/modules/sync.ego", line 324, in handle
self.sync_meta_repo()
File "/usr/share/ego/modules/sync.ego", line 259, in sync_meta_repo
success = self.sync_kit(kt, self.kits_root, branch=branch)
File "/usr/share/ego/modules/sync.ego", line 53, in sync_kit
branch = self.config.kit_info_metadata["kit_settings"][kit_name]["default"]
KeyError: 'default'
Question
dkg
I have a system that hasn't been updated in a few months. I know it was updated to kits, but not yet to 1.2, which is what I was fixing to do today. Started with 'ego sync', which had an error. At that point profiles seemed to be trashed (0-length parent file), and various [ignorant] efforts to recover did not work out. Where do I need to start?
Link to comment
Share on other sites
20 answers to this question
Recommended Posts