Bug 3968

Summary: RFE: conflict messages are confusing if package doesn't install.
Product: [Retired] Red Hat Raw Hide Reporter: Jay Freeman <saurik>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 1.0CC: redhat
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-30 17:05:17 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 Jay Freeman 1999-07-09 18:59:38 UTC
I downloaded the new rawhide updates (wrote a program to do
this a while back), and instead of installing them manually
(like i do on my main machine) I have been experimenting
with using rpm's -F to do this (and just leaving the old
files there until I had a chance to go clean them out).
Worked great for the first few upgrades, but then I started
having problems with it under the following set of
circumstances:

A) I have a package installed that I have inside a folder.
B) I have an old version of the package in the folder.
C) I have a new version of the package in the folder.

What happens is it successfully ignores the one that is
already installed, but doesn't ignore the old file.  So
when it goes and performs a conflict analysis it determines
that it is conflicting with the new one.  I can ALMOST
understand this behavior with standard installs, but not
with a -F or a -U, since neither of those will install the
old version anyway, so why perform the conflict analysis
with them.

[root@olympus RPMs]# rpm -Fhv *
package rawhide-release-1.4.2-1 (which is newer then
rawhide-release-1.4.1-1) is already installed
package tar-1.12-10.64014 (which is newer then tar-1.12-
10.64013) is already installed
file /etc/redhat-release conflicts between attemped
installs of rawhide-release-19990708-1 and rawhide-release-
1.4.1-1

(it happened with tar as well before I removed the old
copy, so it isn't just a problem with the new version
format of the redhat-release package)

Comment 1 Jeff Johnson 2001-08-30 17:05:13 UTC
The important part of this problem is the 1st message, the conflicts
are incidental, and are side effects from the fact that MD5 sums
have actually changed between new and old packages.

Changing the subject line.

Comment 2 Jeff Johnson 2002-08-07 20:09:48 UTC
This bug is old enough that the original problem
is now the defacto behavior or rpm IMHO. Yes it's still
the same behavior.