Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 115954 - rpm -U ignores release dependencies
rpm -U ignores release dependencies
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2004-02-17 06:55 EST by Stefan Leuchsenring
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-02-17 11:06:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Stefan Leuchsenring 2004-02-17 06:55:35 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6)

Description of problem:
I have a package A that depends on package B via
  Requires package-B >= 1.0-2

If there is package-B-1.0.1 installed and I update package A that
needs the release 1.0-2 of package B, rpm -U installs the new version
of A without any error.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
# rpm -qa

# rpm -qpR package-A-4.0-2.i386.rpm
package-B >= 1.0-2

# rpm -U package-A-4.0-2.i386.rpm

Actual Results:  rpm installs new relase of package A although there
are not all dependencies fulfilled

Expected Results:  I expect an error that tells me that I have to
install at least release 1.0-2 of package-B

Additional info:
Comment 1 Jeff Johnson 2004-02-17 11:06:07 EST
A missing or unsepcified element in comparison
has "any" or "all" semantics.

In other words,
    Provides: foo
supplies "all" possible version(s) and release(s) of foo, while
    Requires: foo
is satisfied by "any" foo.

Note You need to log in before you can comment on or make changes to this bug.