Bug 1419516
Summary: | dnf.rpm.basearch('armhfp') throws KeyError | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lubomír Sedlář <lsedlar> |
Component: | dnf | Assignee: | rpm-software-management |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | packaging-team-maint, rpm-software-management, vmukhame |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-02-06 12:02:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lubomír Sedlář
2017-02-06 11:48:09 UTC
Unfortunately, armhfp is not architecture, but base-architecture.. in yum it worked because: if myarch not in arches: # this is dumb, but <shrug> return myarch There are couple of options.. 1) You catch KeyError and set your string (which is what yum actually does) 2) We can return same string if it's base-arch we know about 3) We can define some exception which you can catch instead of KeyError 4) You do something different ;) If you think that 1) or 4) are not something what you want -- feel free to reopen bug. |