Summary: | sys-apps/portage-2.2.26: package move triggers AttributeError: '_pkg_str' object has no attribute 'repo' | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Thomas R. (TRauMa) <gentoo-bugs> |
Component: | Binary packages support | Assignee: | Portage team <dev-portage> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | bruce, gentoo-bugs, lnrd.mnt |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=577640 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
/usr/portage/packages/Packages |
Description
Thomas R. (TRauMa)
2016-03-14 19:13:35 UTC
Created attachment 428244 [details]
emerge --info
This is puzzling, because the 'repo' attribute should be there. I wonder which of these slotmoves is triggering it: slotmove net-irc/kvirc 4 0 slotmove <sci-libs/libint-2 0 1 slotmove >=sci-libs/libint-2 0 2 slotmove sys-devel/binutils 0 2.25.1 Please attach /usr/portage/packages/Packages in case it contains any clues. Created attachment 428252 [details]
/usr/portage/packages/Packages
It must be something about your sys-devel/binutils-2.16.1-r3 binary package that triggers it. Please test to see if this command shows a repository: portageq metadata / binary sys-devel/binutils-2.16.1-r3 repository portageq came up emtpy, and deleting the binpckg in question solved my problem. Thank you very much for your help! There were a lot of binpackages back from 2006 still around on this machine, I've been using the same installation for ten years now :). I'll leave the bug open if you want to add a check in portage for someone else having this problem - if not you can of course just mark it fixed. I might recommend you run eclean-pkg (from gentoolkit package) to clean out the old binpkgs. I'm going to try to reproduce this with a binary package that I have doctored to have missing 'repository' metadata. *** Bug 577640 has been marked as a duplicate of this bug. *** |