Strange behaviour for conflic file

Panu Matilainen pmatilai at laiskiainen.org
Fri Oct 10 05:52:23 UTC 2014


On 10/09/2014 05:39 PM, Tim Lauridsen wrote:
>
>
> On Thu, Oct 9, 2014 at 12:54 PM, jupiter <jupiter.hce at gmail.com
> <mailto:jupiter.hce at gmail.com>> wrote:
>
>     Hi,
>
>     I built my own RPM packages which contain top menu hce.menu for CentOS
>     6.5, but I am baffled by following conflict file error:
>
>     $ sudo yum install hce_graphics
>
>     Transaction Check Error:
>        file /etc/xdg/menus/applications-merged/hce.menu from install of
>     hce_graphics-1.3.18-4.0.7.x86_64 conflicts with file from package
>     hce_g1-4.1-4.0.8.x86_64
>
>     Both hce.menu file are exactly identical:
>
>     $ md5sum /usr/local/hce_graphics/menu/hce.menu
>     bb4a1d5b7fa3dc0da292239cbedf096d
>
>     $ md5sum /usr/local/hce_g1/menu/hce.menu
>     bb4a1d5b7fa3dc0da292239cbedf096d
>
>     How does the yum check the conflict file?
>
>     Appreciate your advice.
>
>     Thank you.
>
>     Kind regards,
>
>     - jupi
>
>
> It is rpm there is complaining here, only one installed package can
> owned the same file.

Nope, its always been possible to share identical files between 
packages. Identical means more than just content, mode and ownership 
need to match as well.

	- Panu -

> the file in both packages is :  /etc/xdg/menus/applications-merged/hce.menu
>
> Tim
>
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
>



More information about the Yum-devel mailing list