I am doing a system wide yum update on RHEL 5.5 and the IUS EPEL repository is throwing a missing dependency error:
php53-mcrypt-5.3.3-4.ius.el5.x86_64 from installed has depsolving problems
--> Missing Dependency: php53-common = 5.3.3-4.ius.el5 is needed by package php53-mcrypt- 5.3.3-4.ius.el5.x86_64 (installed)
Error: Missing Dependency: php53-common = 5.3.3-4.ius.el5 is needed by package php53-mcrypt-5.3.3-4.ius.el5.x86_64 (installed)
Is there is a way to run YUM update against all the other repositories ignoring the IUS EPEL repo to skip this dependency issue?
Clarification
I am trying to install the updates from the Redhat Network only. I cannot find the repo name so I am unable to do something like sudo yum --disablerepo=* --enablerepo=rhel update
as the version of yum I am using does not support multiple repositories listed after --disablerepo
.
Update
My temporary workaround is to run sudo yum --exclude=php53* update
. I am convinced that there is a better way. This better way includes fixing the actual problem, so I filed a bug with the IUS Community Project as well.
Update #2
Looks like I found the issue with the dependency. I still think there should be a viable workaround.
Thanks!
Try the disable repo switch:
UPDATE
To find all repositories currently "known" (enabled and disabled):
Then to find which repository is giving you grief for the above package, try:
This will then show which of your repositories provide the above package (you'll see "installed" on the list too, to show the locally installed packages).
Try the disable switch again once you know the repository using the disable repo switch.
Failing the steps above to single-out the repository you want to omit, try having a look through /etc/yum.repos.d/, which is the RHEL default location for repository definitions. Once in this directory, locate all non-standard RHEL base and updates repository files and include enabled=0, e.g.,
Hope this helps.
The easiest way to do this is by commenting the lines with your unwanted repo in
/etc/yum.repos.d/
You can disable multiple repositories on the yum command line:
However, if you do that, you must explicitly enable the repo you want:
You can add
enabled=0
to the repository configuration file to disable it.Example of repository configuration file http://www.cyberciti.biz/tips/rhel5-fedora-core-add-new-yum-repository.html.