How do I disable yum transaction check for a file ?
Transaction check error:
file /usr/local/xenco/backend/current from install of xenco-rr-1.9.6-104.x86_64 conflicts with file from package xenco-server-1.9.6-104.x86_64
How do I disable yum transaction check for a file ?
Transaction check error:
file /usr/local/xenco/backend/current from install of xenco-rr-1.9.6-104.x86_64 conflicts with file from package xenco-server-1.9.6-104.x86_64
This method worked for me, when I faced similar issue
Simply get the existing package with below command
Remove those conflicting package with
Replacing files from another RPM package is bad idea in most cases and I strongly advise against what you're trying to do. That said, apply following at your own risk.
Yum does not provide an option to install conflicting files, I think. However, that does not prevent you from installing a RPM package with rpm(1) which does provide an option to override existing files from another package, namely
--replacefiles
.So, first get the RPM of the package you want to install on a local filesystem (
/usr/local/xenco...
makes me suspect that is the case already). Next install the RPM withrpm -i --replacefiles <your_rpm_file>
.what i always do is remove the package that is on the right hand side. In your case it would be -
yum remove <> can work with any package error, i have encountered many such transactions errors when working on vm on cloud, i always remove the package that causes conflicts and always has worked for me.