Re: file conflicts.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




2008/7/31 Nadav Hashimshony <nadavh@xxxxxxxxx>
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.

hth




Regards,
Nadav.

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux