yum problems: Skip Packages With Broken Dependencies When Upgrading System

Q. I made a mistake and added additional repo under CentOS / RHEL 5.x server. Now when I try to upgrade packages it gives me out broken dependencies / missing dependency error. How do I skip broken packages and apply updates to other installed software's?A. packages with broken dependencies is really bad. Yum generally take care of such business, but when you mix additional repos it may give out 'Missing Dependency' error under RHEL / CentOS Linux 5.x systems.

You need to add plugin called yum-skip-brokenm which adds a --skip-broken to yum to make it possible to check packages for dependency problems and skip the one with problems.

yum –enablerepo=rpmforge –disablerepo=ABC –enablerepo=epel install yum-skip-broken Loaded plugins: refresh-packagekit, rhnplugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process No package yum-skip-broken available. Error: Nothing to do