<div dir="ltr">Version 19.05.3-2<div>CentOS 7.7</div><div><br></div><div>I was wanting to install the slurm-devel RPM that I had built, but I get this translation check error:</div><div><br></div><div>$ sudo yum localinstall /home/apps/slurm/19.05/RPMS/slurm-devel-19.05.3-2.el7.x86_64.rpm<br></div><div>.</div><div>.</div><div>Transaction check error:<br>  file /usr/lib64/pkgconfig from install of slurm-devel-19.05.3-2.el7.x86_64 conflicts with file from package pkgconfig-1:0.27.1-4.el7.x86_64<br>  file /usr/lib64/pkgconfig from install of slurm-devel-19.05.3-2.el7.x86_64 conflicts with file from package MariaDB-devel-10.4.10-1.el7.centos.x86_64<br></div><div><br></div><div>Reading elsewhere on the Internet seems to suggest that the RPM shouldn't include the directory itself:</div><div><br></div><div>$ rpm -qlp /home/apps/slurm/19.05/RPMS/slurm-devel-19.05.3-2.el7.x86_64.rpm<br>/usr/include/slurm<br>/usr/include/slurm/pmi.h<br>/usr/include/slurm/pmi2.h<br>/usr/include/slurm/slurm.h<br>/usr/include/slurm/slurm_errno.h<br>/usr/include/slurm/slurmdb.h<br>/usr/include/slurm/smd_ns.h<br>/usr/include/slurm/spank.h<br>/usr/lib64/pkgconfig  <<<<<<<<<<<<<<<<<<<<br>/usr/lib64/pkgconfig/slurm.pc<br></div><div><br></div><div>Anyone else seen this?</div><div><br></div><div>I am not very familiar with building RPMs but it sounds as if it is possible when building an RPM to put in the 'spec file' to tag some files (and I guess directories) as 'noreplace'.</div><div><br></div><div>William</div><div><br></div></div>