2008/7/31 Nadav Hashimshony <nadavh gmail com>
i have two different rpm's that install the same file to a the same location (i.e /etc/conf/somthing)
if one of the rpm is installed and i install the other (via yum install...)
i get the message:
Transaction Check Error: file /etc/somefile from install of some_rpm-1.01.0002-1 conflicts with file from package other_rpm-1.00.0000-1
somefile is the same file in both of them (i may choose to install one or both rpm's so i need it in both).
how can i avoid installing it again if it is already exists?
or have rpm "force" the installation (i dont want to use rpm --force) because i use yum install ( i have my own repository).
In rpm world is not possible to have two different rpm install the same config file: it is likely that you have defined in both rpms SPEC file %config /etc/conf/somthing. Think if the you rpm provide alternative function o conflicting function and package it accordly, for example via Provides: and Obsoletes: and so.
Rpm-list mailing list
Rpm-list redhat com