question about package conflicts

seth vidal skvidal at fedoraproject.org
Thu Feb 12 05:09:53 UTC 2009


On Wed, 2009-02-11 at 18:30 -0800, Dave Peterson wrote:
> > On Tue, 2009-02-10 at 15:40 -0800, Dave Peterson wrote:
> > > Hi,
> > > 
> > > I have a question about RPM package conflicts: Does RPM
> > > view two packages as being in conflict whenever both
> > > packages provide a file with the exact same pathname?
> > > 
> > 
> > It's a bit complicated.
> > 
> > 1. if the checksums of the files are identical then it is not 
> > a conflict
> > 2. if the checksums of the files are NOT identical, but they are
> > binaries (elf) then if the two owning packages are of different (but
> > compatible) colors then there is not a conflict. 
> > 
> > I think that's the majority of the file conflict behavior but I'm sure
> > there are things I've missed.
> 
> I'm not familiar with the concept of package colors.  What are
> they?
> 
> Also, it looks like the comparison is influenced by the color
> bits and preferred file color associated with a transaction
> set.  What are these?
> 

It's related to multilib support in rpm. The idea of having, for
example, an i386 pkg and an x86_64 pkg owning some of the same files on
a system w/o it being a problem.

-sv




More information about the Rpm-list mailing list