Strange behaviour for conflic file

Panu Matilainen pmatilai at laiskiainen.org
Mon Oct 13 10:39:12 UTC 2014


On 10/13/2014 07:44 AM, jupiter wrote:
> During the yum installation, either
> /usr/local/hce_graphics/menu/hce.menu or /usr/local/hce_g1/menu/hce.menu
> will be copied to /etc/xdg/menus/applications-merged/hce.menu depending
> on whether the /etc/xdg/menus/applications-merged/hce.menu exists or not.
>
> I don't know how the yum or rpm checks duplication status, I'll imagine
> that yum or rpm check the file content, access mode and ownership of the
> file, if it is the same, yum or rpm won't copy to it, otherwise, yum or
> rpm will generate an error of conflict. I've checked the files hce.menu
> in both packages are identical, the yum installation shouldn't have
> conflict error, but it did. Unless there are any other status that yum /
> rpm checks?

The conflict is on /etc/xdg/menus/applications-merged/hce.menu file. 
Since you're getting a conflict, it means THAT file is packaged in both, 
and differs in one or more ways between the two. What's in some other 
file is irrelevant, and what happens in install-time scripts (except for 
%pretrans) is also irrelevant for file conflict calculation.

	- Panu -



More information about the Yum-devel mailing list