This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 83738 - self-conflicted packages continue to install
self-conflicted packages continue to install
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.3
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2005-09-29 15:07:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


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:
Always

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:
rpm-4.0.4-7x.18
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.