Yum Has Depsolving Problems. What To Do?

Last Updated on

Did you ever try to install an application on CentOS using powerful “yum” and had following errors showing up:

–> Finished Dependency Resolution

rrdtool-1.3.8-2.el5.rf.x86_64 from rpmforge has depsolving problems

–> Missing Dependency: ruby is needed by package rrdtool-1.3.8-2.el5.rf.x86_64 (rpmforge)

Error: Missing Dependency: ruby is needed by package rrdtool-1.3.8-2.el5.rf.x86_64 (rpmforge)

You could try using –skip-broken to work around the problem

You could try running: package-cleanup –problems

package-cleanup –dupes

rpm -Va –nofiles –nodigest

The program package-cleanup is found in the yum-utils package.

The above error implies that yum was trying to install ruby or perl dependency and could not install it because that was excluded in the global exclude in /etc/yum.conf.

Picture 6_0

The solution is to exclude “perl” or “ruby” or whatever dependecy the system is trying to install in /etc/yum.conf. I simply renamed perl and ruby to something else in the first line of /etc/yum.conf and my “yum install XXXX” wen smooth thereafter.

Blog Uncategorized
Previous reading
Svn Cheatsheet
Next reading
Drupal Cron Stuck? Log The Progress.