Summary: | sys-apps/portage-2.3.0: AttributeError: '_pkg_str' object has no attribute 'repo' during global updates | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Benjamin Schindler <beschindler> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 611328 |
Description
Benjamin Schindler
2016-12-27 10:53:16 UTC
Of course, when I post a bugreport, I also find its cause minutes later. It turned out, that I had really old packages lying around in /usr/portage/packages. eclean packages did the trick. But it would be nice if portage could handle such a situation a bit more gracefully than throwing its hands in the air :) Patch posted for review: https://archives.gentoo.org/gentoo-portage-dev/message/df856327f6af103d99d607fbe66e478a https://github.com/gentoo/portage/pull/79 This is in the master branch: https://gitweb.gentoo.org/proj/portage.git/commit/?id=67109fe41df07c9fa0e588b81f37ff61a71470f6 Fixed in portage-2.3.5. |