Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 83738 - self-conflicted packages continue to install
self-conflicted packages continue to install
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-02-07 13:56 EST by Suzan Wassman
Modified: 2007-04-18 12:50 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-29 15:07:06 EDT
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 Suzan Wassman 2003-02-07 13:56:16 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513

Description of problem:

Testing for conflicts during RPM install does not behave as expected if conflict
is with a particular version of itself.

It seems that the install checks are inspecting the version trying to install as
well as the RPM database to determine conflicts.

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

How reproducible:

Steps to Reproduce:
1.  rpm -i foo-2.1.0-8.i386.rpm
2.  (spec file for foo contains "Conflicts: foo < 2.5.0-0")
3.  rpm -Uvv foo-2.5.1-0.i386.rpm 

Actual Results:  foo successfully upgraded

Expected Results:  foo should NOT have upgraded since existing foo was <
2.5.0-0; it should have spouted an error with failed dependencies because of
package conflicts

Additional info:

Here's my system specs:
kernel 2.4.18-5
RedHat 7.3
Comment 1 Paul Nasrat 2005-09-29 15:07:06 EDT
[pauln@enki SPECS]$ sudo rpm --test -ivh ../RPMS/foo-2.5.1-1.i386.rpm
error: Failed dependencies:
        foo < 2.5.0-0 conflicts with foo-2.5.1-1.i386
[pauln@enki SPECS]$ sudo rpm --test -Uvh ../RPMS/foo-2.5.1-1.i386.rpm

I don't think this is a bug, as upgrade implies erase/install so the final
system has no conflicting packages and the transaction is satisfied.

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