Bug 509637

Summary: Rpm complains about conflicts with files explicitly excluded with excludepath
Product: [Fedora] Fedora Reporter: Göran Uddeborg <goeran>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: ffesti, jnovy, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.7.1-1.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-05 00:41:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Göran Uddeborg 2009-07-04 12:05:08 UTC
Description of problem:
If a package to be installed includes files that is already on the system, owned by other packages, and different, it will complain about the conflict.  If I wanted the already existing version of the file to remain, I believe I have previously explicitly excluded the file in question with --excludepath.  This no longer seems to work.  RPM complains about the files even when excluded.

Version-Release number of selected component (if applicable):
rpm-4.7.0-1.fc11.x86_64

How reproducible:
Every time

Steps to Reproduce:
I note this on some non-distribution packages, but to illustrate the problem, you can try to install an old fedora-release package:

rpm -U --excludepath /usr/share/doc/HTML/index.html --excludepath /usr/share/firstboot/modules/eula.py fedora-release-3.90-2.noarch.rpm

Actual results:
This still gives the complaint

        file /usr/share/firstboot/modules/eula.py from install of fedora-release-3.90-2.noarch conflicts with file from package firstboot-1.105-2.fc11.x86_64

and the corresponding error for the index.html file and the fedora-release-notes package.

Expected results:
With the excludepath arguments, the downgrade should work.  (At least as far as file conflicts are concerned.  Other dependency issues could likely turn up.  I of course don't recommend actually doing this, but it is a simple way to illustrate the problem with a package from a distribution.)

Comment 1 Panu Matilainen 2009-07-09 07:10:05 UTC
Easily reproduced, this is a regression between 4.6.x and 4.7.x.

Comment 2 Panu Matilainen 2009-07-09 08:07:22 UTC
Fixed upstream

Comment 3 Fedora Update System 2009-07-24 05:17:00 UTC
rpm-4.7.1-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/rpm-4.7.1-1.fc11

Comment 4 Fedora Update System 2009-07-24 19:40:05 UTC
rpm-4.7.1-1.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update rpm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7986

Comment 5 Göran Uddeborg 2009-07-26 15:28:27 UTC
I've tested 4.7.1-1.fc11, and excludepath works again! :-)

Comment 6 Fedora Update System 2009-08-05 00:40:42 UTC
rpm-4.7.1-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.