Disable Yum Transaction Check for File Conflict

Disable yum transaction check for file conflict

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 with rpm -i --replacefiles <your_rpm_file>.

Transaction check error on yum-update for package libedit

I noticed you are trying to install an i386 package instead of an x86_64 package. If you don't have the 32bit libraries installed it may not install and fail at this point. What I have done when I have had this issue is the following:

cd /var/tmp
yum remove libedit
wget http://www6.atomicorp.com/channels/atomic/centos/5/x86_64/RPMS/libedit-3.0-2.20090923cvs.el5.art.x86_64.rpm
yum install glibc
rpm -Uvh libedit-3.0-2.20090923cvs.el5.art.x86_64.rpm

yum install php-mssql transaction error

You have both webtatic + remi repositories installed: bad idea, and reason of these conflicts.

Notice: EPEL doesn't seems to be installed, you need it.

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh epel-release-latest-6.noarch.rpm

Then, choose a single provider for your PHP stack.

yum-config-manager --enable remi-php56
yum-config-manager --disable webtatic
yum install php-mssql

This will permanently enabled the "remi-php56" repository which only provides PHP 5.6 and its extensions (will pull dependencies from remi-safe, epel, base and updates repositories).



Related Topics



Leave a reply



Submit