Summary: | emerge traceback - AttributeError: '_pkg_str' object has no attribute 'repo' | ||
---|---|---|---|
Product: | Portage Development | Reporter: | lnrd.mnt |
Component: | Binary packages support | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=577414 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
This probably has the same root cause as bug 577414. Yes, that's probably the case since eclean-pkg solved it. I don't know which package caused the problem. I can only say that now there is an 's' (as in "/var/db SLOT move") instead of the traceback in emerge output. Again thanks a lot! *** This bug has been marked as a duplicate of bug 577414 *** |
Created attachment 428460 [details] emerge --info I have been asked to update (and clean) a vm running Gentoo Linux. For a while everything went fine but a few days back, right after connecting to the vm with ssh, emerge started to throw this error (luckly not emerge --info): wp ~ # emerge -pv1 portage 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.*' /usr/portage/profiles/updates/1Q-2016........................................... Traceback (most recent call last): File "/usr/bin/emerge", line 50, in <module> retval = emerge_main() File "/usr/lib64/python2.7/site-packages/_emerge/main.py", line 1174, in emerge_main return run_action(emerge_config) File "/usr/lib64/python2.7/site-packages/_emerge/actions.py", line 2766, in run_action quiet=("--quiet" in emerge_config.opts)): File "/usr/lib64/python2.7/site-packages/portage/_global_updates.py", line 41, in _global_updates quiet=quiet, if_mtime_changed=if_mtime_changed) File "/usr/lib64/python2.7/site-packages/portage/_global_updates.py", line 169, in _do_global_updates moves = bindb.move_ent(update_cmd, repo_match=repo_match) File "/usr/lib64/python2.7/site-packages/portage/dbapi/bintree.py", line 410, in move_ent and not repo_match(mycpv.repo): AttributeError: '_pkg_str' object has no attribute 'repo' I have tried to change the profile and reinstall portage by hand but emerge keeps crashing. Is there a way to fix this? Thanks a lot!