Red Hat Bugzilla – Bug 201431
yum doesn't handle file collisions wisely
Last modified: 2014-01-21 17:54:55 EST
Description of problem:
When two packages attempt to install the same file, yum detects that a file
collision has occurred and exits. I think that the desired behavior should be
that it reports the problem, perhaps in a log file, and continues on with
everything else that it can do. Otherwise, one has to redownload many many many
files. Alternatively, if yum supported the --replacefiles switch as rpm does,
that would resolve the problem for me
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum -y update wxGTK
2. yum -y update --replacefiles wxGTK ought to work, but the
--replacefiles switch isn't accepted.
The underlying problem that triggers the error is described in bug 188370.
Created attachment 133674 [details]
This is a screen capture of a typical session which reproduces the problem
The removal+redownload bit should be fixed now. But there's no way to "avoid"
the conflict -- it has to be handled by the user (or broken repositories should
be fixed, even better)