Description of problem: Forced RPM transaction skips dependency check for installed packages with the same version. Version-Release number of selected component (if applicable): # rpm -q fedora-release rpm fedora-release-4-2 rpm-4.4.1-21 How reproducible: Every time. Steps to Reproduce: 1. Create two packages 'first' and 'second' with version 1.0 and release 1 2. Package 'second' provides 'second-special' and package 'first' requires it. 3. Build packages and install them: # rpmbuild -bb first.spec && rpmbuild -bb second.spec 4. Install packages: # cd /usr/src/redhat/RPMS/noarch/ ; rpm -Uhv first-1.0-1.noarch.rpm second-1.0- 1.noarch.rpm ; cd - 5. Comment out provides and requires for 'second-special' in both package. 6. Increase 'second' package release to 2. Do NOT increase release for package 'first'. 7. Re-build packages: # rpmbuild -bb first.spec && rpmbuild -bb second.spec 8. Try to upgrade them forcedly: [root@colinux ~]# cd /usr/src/redhat/RPMS/noarch/ ; rpm -Uhv first-1.0- 1.noarch.rpm second-1.0-2.noarch.rpm --force; cd - Actual results: error: Failed dependencies: second-special is needed by (installed) first-1.0-1.noarch Expected results: The upgrade should be ok because I replace 'first' package forcedly in this transaction.
Created attachment 136150 [details] First package spec file (at first step)
Created attachment 136151 [details] Second package spec file (at first step)
This report targets the FC3 or FC4 products, which have now been EOL'd. Could you please check that it still applies to a current Fedora release, and either update the target product or close it ? Thanks.
User pnasrat's account has been closed
Reassigning to owner after bugzilla made a mess, sorry about the noise...
Fedora Core 4 is no longer maintained. Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the current Fedora release, please reopen this bug and assign it to the corresponding Fedora version.