On 10/10/2014 11:48 AM, jupiter wrote:
On 10/10/14, Panu Matilainen <pmati...@laiskiainen.org> wrote:
On 10/09/2014 05:39 PM, Tim Lauridsen wrote:


On Thu, Oct 9, 2014 at 12:54 PM, jupiter <jupiter....@gmail.com
<mailto:jupiter....@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.

Correct, I did get it work before. How to debug it? The same owneship
root, the same content verified by md5sum and the same mode, that
borthers me.

Well you're talking about three different files here:

/etc/xdg/menus/applications-merged/hce.menu
/usr/local/hce_graphics/menu/hce.menu
/usr/local/hce_g1/menu/hce.menu

Its the one in /etc that conflicts, but you dont provide any info about what it is. If its a symlink to the other files, different in each package, then that would be another possible cause of the conflict.

How to debug it is simply: look carefully!

        - Panu -

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to