| Summary: | rpmdeplint finds wrong pre-existing repository problems | ||
|---|---|---|---|
| Product: | [Community] rpmdeplint | Reporter: | Roman Joost <rjoost> |
| Component: | cli | Assignee: | Tyrone Abdy <tabdy> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.1 | CC: | bmcivor, dcallagh, jorris, rjoost, tabdy |
| Target Milestone: | 1.2 | ||
| 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: | 2016-10-17 03:29:50 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: | |
| Bug Depends On: | 1380597 | ||
| Bug Blocks: | |||
|
Description
Roman Joost
2016-09-21 23:50:16 UTC
Overall this comes from that hawkey requires an architecture to be specified regardless at this stage. Which it will autodetect from the host machine if its not passed into the hawkey.Sack on initialisation. This caused the repository searching for a package that provides what another package requires. But libsolv/hawkey was only searching for packages that matched the architecture given. So there was an option for a newer hawkey which took advantage of libsolv's underneath ability to take an architecture string that was a series of colon separate architectures to use, in the form of say "x86_64:ppc:sparc". This would not be supported on rhel7 or fedora < 24. So the current short term solution to take is the above patch which will detect the architecture from the given RPMs or allow the user to specify --arch to manually use it. I have submitted a patch against an RFE for an improvement in hawkey that will allow it to accept any architecture which works within libsolv to search for packages regardless of arch. Which would be the long term solution, to not have to "detect" the RPMs or even specify the architecture. rpmdeplint 1.2 has been released. |