View previous topic :: View next topic |
Author |
Message |
elover Apprentice
Joined: 20 Nov 2019 Posts: 159 Location: Spain
|
Posted: Wed Dec 06, 2023 7:48 am Post subject: It seems that python is broken |
|
|
When I try to update I get this:
Code: | Performing Global Updates
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' #='/var/db update' @='/var/db move'
s='/var/db SLOT move' %='binary move' S='binary SLOT move'
p='update /etc/portage/package.*'
/var/db/repos/gentoo/profiles/updates/4Q-2023....................................
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.11/emerge", line 57, in main
retval = emerge_main()
^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/_emerge/main.py", line 1306, in emerge_main
return run_action(emerge_config)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/_emerge/actions.py", line 3412, in run_action
and _global_updates(
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/portage/_global_updates.py", line 41, in _global_updates
return _do_global_updates(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/portage/_global_updates.py", line 257, in _do_global_updates
bindb.update_ents(repo_map, onUpdate=onUpdate)
File "/usr/lib/python3.11/site-packages/portage/dbapi/__init__.py", line 426, in update_ents
aux_update(cpv, metadata_updates)
File "/usr/lib/python3.11/site-packages/portage/dbapi/bintree.py", line 284, in aux_update
raise KeyError(cpv)
KeyError: 'kde-plasma/kwayland-5.102.0' |
I have copies of binpkgs, I have copied python exec and python and emerge but the error persists. |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1678
|
Posted: Wed Dec 06, 2023 9:55 am Post subject: |
|
|
Try emaint all -f. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Dec 13, 2023 3:01 am Post subject: |
|
|
sam_ wrote: | Try emaint all -f. | Thanks, this fixed my issue. Similar output, different KeyError: Code: | KeyError: 'dev-python/stack_data-0.2.0' |
_________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1678
|
Posted: Thu Dec 14, 2023 7:46 am Post subject: |
|
|
A few fixes have landed in latest Portage which may prevent this in future too (bug 918597, bug 919668, bug 915474). |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|