Answer the question
In order to leave comments, you need to log in
How to properly install conflicting packages?
Compiled two rpm-files. The first - collects from openresty source codes.
The second one is copying custom configs to the directory where openresty itself is installed.
Install conflict:
Transaction check error:
file /usr/local/openresty/nginx/conf/nginx.conf from install of openresty-cfg-1.0-1.el7.x86_64 conflicts with file from package openresty-1.15.8.2-7.el7.x86_64
Answer the question
In order to leave comments, you need to log in
I solved it by renaming the file in the custom config spec file before %install.
Further renaming the file back when deleting this custom config. Also in the spec file.
How, in fact, is it correct to correct this conflict?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question