Bug 115954 - rpm -U ignores release dependencies
rpm -U ignores release dependencies
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: rpm (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2004-02-17 11:06:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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)
Gecko/20040113

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):
rpm-4.2.1-4.2

How reproducible:
Always

Steps to Reproduce:
1.
# rpm -qa
package-A-4.0-1
package-B-1.0-1

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

3.
# 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.