Re: Allowing files to be overwritten by different packages

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

 



On 11/06/2015 02:19 PM, Fabricio Cannini wrote:
Hi there

I'm having a problem making this work, when installing different
packages that write the same file at the same directory.
I've tried '%config' , '%config(noreplace)', but none worked.

Is there anyway to make this work, or am I simply going against the
whole idea of rpm ?

I'm using centos 6.5, rpm 4.8.0.

When a file is used in common by multiple packages, generally the best practice is to put that file into its own package and have the other packages require it.

An example of this - /etc/mime.types is part of the mailcap package and is required by other packages that need that file (e.g. httpd).
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/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