| Summary: | Versioned dep search with --exactdeps doesn't do what I expect | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
| Component: | yum-utils | Assignee: | Seth Vidal <skvidal> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | james.antill, maxamillion, pmatilai, tla |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-16 15:49:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Orion Poplawski
2011-11-02 18:03:55 UTC
This is maybe bad documentation wording (feel free to suggest changes), what is happening is that you specify: 'ImageMagick = 6.7.0.10-3.fc16' ...this is then turned into a package ImageMagick-6.7.0.10-3.fc16, and by default it looks at all the files and provides (repoquery --provides ImageMagick-6.7.0.10-3.fc16) to see if anything requires any of those things (Eg. Requires: libMagickCore.so.4). With --exactdeps it only looks for things which require the package name itself (Eg. Requires: ImageMagick ... or Requires: ImageMagick >= 6.7.0.10). You could use repoquery --tree-requires and grep to find things that match an explicit requirement exactly ... can't think of a better way. Why do you want to do that? In this case, things that use ImageMagick generally depend on a specific version, so they have requires like: ImageMagick = 6.7.0.10 I wanted to verify that nothing depended explicitly on the release version as well. Not a big deal, but I do think it would be useful to search for the explicit requires as above. There is no real API to do that, and people really wouldn't want a straight text match IMO ... so it'd be "interesting" in a few cases. One workaround you can do is: % repoquery --whatrequires --output=ascii-tree --level=1 ImageMagick |