Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried today to replace packages from atomiccorp's repositories with newer packages from the epel/remi repositories and received Transaction Check Errors.

I cannot proceed with my update.

Install       5 Package(s)
Upgrade      23 Package(s)

Total size: 24 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test

Transaction Check Error:
  file /etc/php.ini from install of php-common-5.3.6-1.el5.remi.x86_64 conflicts with file from package php-common-5.2.17-1.el5.art.i386
  file /usr/share/man/man1/php.1.gz from install of php-cli-5.3.6-1.el5.remi.x86_64 conflicts with file from package php-cli-5.2.17-1.el5.art.i386

Error Summary

What is a Transaction Check Error and how can I fix it ?

share|improve this question
up vote 7 down vote accepted

Based on the error messages, it looks like your upgrade is trying to upgrade your 5.3.6 version of PHP to an older version (5.2.17), and it's running into conflicts.

Did you add an extra repo in the past?

What is the output of

yum list *php*

I'd expect that you have 2 different repos listing PHP. On that assumption, the fix would be to exclude the older version of PHP in your /etc/yum.repos.d/ dir.

Alternatively, you can exclude the specific offending packages on the command line. See http://www.cyberciti.biz/faq/redhat-centos-linux-yum-update-exclude-packages/

share|improve this answer
thank you, i didn't know that excluding specific packages is possible. my workaround was always to use yum update --enablerepo=xxx . regards – mate64 Aug 1 '11 at 9:10
Great link, I have used yum --exclude=texstudio update on Fedora 19. – Wok Apr 9 '14 at 13:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.