Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] broken portage?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
shimitar
Guru
Guru
Posts: 344
Joined: Sun Nov 23, 2003 1:19 pm
Location: Italy, Torino
Contact:
Contact shimitar
Website

[SOLVED] broken portage?

  • Quote

Post by shimitar » Wed Feb 25, 2026 7:57 am

All of a sudden, i get this:

Code: Select all

emerge -uv --deep --newuse --with-bdeps=y @world -p                                                                                                            
                                                                                                                                                                                             
These are the packages that would be merged, in order:                                                                                                                                       
                                                                                                                                                                                             
Calculating dependencies... done!                                                                                                                                                            
Dependency resolution took 238.08 s.                                                                                                                                                         
                                                                                                                                                                                             
Traceback (most recent call last):                                                                                                                                                           
  File "/usr/lib/python-exec/python3.13/emerge", line 51, in main                                                                                                                            
    retval = emerge_main()                                                                                                                                                                   
  File "/usr/lib/python3.13/site-packages/_emerge/main.py", line 1335, in emerge_main                                                                                                        
    return run_action(emerge_config)                                                                                                                                                         
  File "/usr/lib/python3.13/site-packages/_emerge/actions.py", line 4114, in run_action                                                                                                      
    retval = action_build(emerge_config, spinner=spinner)                                                                                                                                    
  File "/usr/lib/python3.13/site-packages/_emerge/actions.py", line 404, in action_build
    success, mydepgraph, favorites = backtrack_depgraph(
                                     ~~~~~~~~~~~~~~~~~~^
        settings, trees, myopts, myparams, myaction, myfiles, spinner
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/_emerge/depgraph.py", line 11845, in backtrack_depgraph
    success, mydepgraph, favorites, backtracked, max_retries = _backtrack_depgraph(
                                                               ~~~~~~~~~~~~~~~~~~~^
        settings, trees, myopts, myparams, myaction, myfiles, spinner
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/_emerge/depgraph.py", line 11904, in _backtrack_depgraph
    success, favorites = mydepgraph.select_files(myfiles)
                         ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/_emerge/depgraph.py", line 4826, in select_files
    return self._select_files(args)
           ~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/site-packages/_emerge/depgraph.py", line 5272, in _select_files
    return self._resolve(myfavorites)
           ~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/_emerge/depgraph.py", line 5572, in _resolve
    and self._eliminate_rebuilds()
        ~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/_emerge/depgraph.py", line 3844, in _eliminate_rebuilds
    for parent, atom in self._dynamic_config._parent_atoms[
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        child
        ^^^^^
    ]    ^
KeyError: <Package ('installed', '/', 'dev-qt/qtmultimedia-6.10.1-r1', 'uninstall', 'installed')>

Besides the 238s (on a high-end XEON with 64bg ram and NVME), what is going on?

I did some successful emerge yesterday, i am trying to update my tree after i added "dist-kernel" as global USE flag due to me trying to switch to gentoo-kernel-bin... but even removing that USE flag doesnt change.


I have also already run:

Code: Select all

rm -rf /var/cache/edb/dep/*                                                                                                                                    
emaint --check all
emaint --fix all                          
Also did an emerge --sync...


but no luck...
Last edited by shimitar on Mon Mar 02, 2026 9:04 am, edited 1 time in total.
Willy Gardiol
willy@gardiol.org
Top
CooSee
Veteran
Veteran
User avatar
Posts: 1617
Joined: Sat Nov 20, 2004 10:38 pm
Location: right here !

  • Quote

Post by CooSee » Wed Feb 25, 2026 8:06 pm

already tried this https://wiki.gentoo.org/wiki/Portage#Troubleshooting and https://wiki.gentoo.org/wiki/Project:Po ... en_portage ?

8)
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Top
shimitar
Guru
Guru
Posts: 344
Joined: Sun Nov 23, 2003 1:19 pm
Location: Italy, Torino
Contact:
Contact shimitar
Website

  • Quote

Post by shimitar » Mon Mar 02, 2026 9:04 am

Selective emerges fixed that. It seems some instability on the qt-multimedia package for some reason, solved after emerging separatedly some packages.
Willy Gardiol
willy@gardiol.org
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic