Bug 50524
Summary: | rpmdepCheck() doesn't satisfy dependencies correctly | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | wadim |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-07-31 21:05:26 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
wadim
2001-07-31 21:05:23 UTC
Yup, this is exactly the way it's supposed to work. Originally, rpm had not versions on Provides: and versions were optional on Requires:. This is reflected in the code by the tests for both a NULL pointer (i.e. tag is missing), as well as for the empty string "" (i.e. no value for this element). The semantics in that case is to interpret as Provides" all versions, and or Requires: any version. The return of 1 is exactly correct, since rangeMatchesDepFlags() is never called unless the name was in the database, and the existince of the name is exactly the same as Provides: all versions or Requires: any version. |