Bug 1489315
Summary: | Error: Invalid version flag: if | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lukas Slebodnik <lslebodn> |
Component: | yum | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | bfinger, ignatenko, james.antill, jbowes, katzj, kdudka, michele, packaging-team-maint, 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-11-04 14:57:04 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
Lukas Slebodnik
2017-09-07 07:56:37 UTC
Yum doesn't work with rich dependencies and never will.... We are actually planning to retire it ;) Have you consider ignoring/skipping rich dependencies in yum? (In reply to Lukas Slebodnik from comment #2) > Have you consider ignoring/skipping rich dependencies in yum? What's the point? In this case, use rpm --nodeps. (In reply to Igor Gnatenko from comment #3) > (In reply to Lukas Slebodnik from comment #2) > > Have you consider ignoring/skipping rich dependencies in yum? > > What's the point? The point is to ignore rich dependencies the same as weak dependencies are ignored. (In reply to Lukas Slebodnik from comment #4) > (In reply to Igor Gnatenko from comment #3) > > (In reply to Lukas Slebodnik from comment #2) > > > Have you consider ignoring/skipping rich dependencies in yum? > > > > What's the point? > > The point is to ignore rich dependencies the same as weak dependencies are > ignored. Weak dependencies are not ignored, they are installed same way as Requires. Probably you are talking about reverse weak dependencies, those are ignored yes. But ignoring dependencies in Requires is wrong. Also, even yum will ignore them RPM will not. And your transaction will fail anyway. What would be grand is if we errored out with a nice error message explaining things (need to use/install dnf, etc.) as opposed to 'Error: Invalid version flag: if' |